记录详情

Compile Error

/in/foo.cc:5:12: error: '::main' must return 'int'
 void main (){
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: error: '_int64' was not declared in this scope
  _int64  a,b,c,d; 
  ^~~~~~
/in/foo.cc:8:10: error: expected ';' before 'result'
  _int64  result;//In GNU C++, 64-bit integers MUST be of type "long long"
          ^~~~~~
/in/foo.cc:9:16: error: 'a' was not declared in this scope
 scanf("%I64u",&a);
                ^
/in/foo.cc:11:16: error: 'b' was not declared in this scope
 scanf("%I64u",&b);
                ^
/in/foo.cc:12:16: error: 'c' was not declared in this scope
 scanf("%I64u",&c);
                ^
/in/foo.cc:13:16: error: 'd' was not declared in this scope
 scanf("%I64u",&d);
                ^
/in/foo.cc:14:1: error: 'result' was not declared in this scope
 result=a*d-b*c;
 ^~~~~~

信息

递交者
类型
递交
题目
P1289 B. It's my own Invention
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 17:27:19
评测时间
2021-11-21 17:27:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes