/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<cstdio> include<iostream> include<algorithm> include<cstring>
 ^
foo.cpp: In function 'int main()':
foo.cpp:12:14: error: 'scanf' was not declared in this scope
 scanf("%d",&n);
              ^
foo.cpp:26:1: error: 'cin' was not declared in this scope
 cin>>mo>>ban>>gan>>sheng>>lun;
 ^
foo.cpp:40:17: error: 'printf' was not declared in this scope
 printf("%c",a[i]);
                 ^
foo.cpp:41:27: error: 'printf' was not declared in this scope
 printf("\n%d\n%d",maxn,tot);
                           ^
foo.cpp: At global scope:
foo.cpp:42:2: error: expected declaration before '}' token
 }}
  ^

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2016-09-11 16:28:58
评测时间
2016-09-11 16:28:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes