/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:11: error: '::main' must return 'int'
 void main()
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: error: 'scanf' was not declared in this scope
 scanf("%d",&n);
              ^
/in/foo.cc:28:20: error: 'printf' was not declared in this scope
 printf("%c",str2[m]);
                    ^
/in/foo.cc:29:28: error: 'printf' was not declared in this scope
 printf("\n%d\n%d\n",max,sum);
                            ^

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-12-15 17:53:42
评测时间
2017-12-15 17:53:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes