/ Vijos /

记录详情

Compile Error

foo.cpp:1:1: error: 'include' does not name a type
 include<iostream>
 ^
foo.cpp: In function 'int main()':
foo.cpp:20:7: error: 'cin' was not declared in this scope
 int n;cin>>n;
       ^
foo.cpp:22:95: error: 'scanf' was not declared in this scope
 scanf("%s%d%d %c %c%d\n",&a[i].name,&a[i].qimo,&a[i].banji,&a[i].ganbu,&a[i].xibu,&a[i].lunwen);
                                                                                               ^
foo.cpp:31:20: error: 'sort' was not declared in this scope
 sort(a+1,a+n+1,comp);
                    ^
foo.cpp:35:1: error: 'cout' was not declared in this scope
 cout<<a[1].name<<endl<<a[1].jj<<endl<<s;
 ^
foo.cpp:35:18: error: 'endl' was not declared in this scope
 cout<<a[1].name<<endl<<a[1].jj<<endl<<s;
                  ^

信息

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