Submission #3007426


Source Code Expand

#include<bits/stdc++.h>
#define mod 1000000007
IL void read(long long &x){
	int f=1;x=0;char s=getchar();
	while(s>'9'||s<'0'){if(s=='-')f=-1;s=getchar();}
	while(s<='9'&&s>='0'){x=x*10+s-'0';s=getchar();}
	x*=f;
}
long long length,weight,height,ans;
int main()
{
	read(length),read(weight),read(height);
	ans=length%mod*weight%mod*height%mod;
	printf("%lld\n",ans);
}

Submission Info

Submission Time
Task B - 直方体
User luogu_bot3
Language C++ (GCC 5.4.1)
Score 0
Code Size 369 Byte
Status CE

Compile Error

./Main.cpp:3:1: error: ‘IL’ does not name a type
 IL void read(long long &x){
 ^
./Main.cpp: In function ‘int main()’:
./Main.cpp:12:13: error: ‘read’ was not declared in this scope
  read(length),read(weight),read(height);
             ^