/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:4:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:13:59: warning: writing into constant object (argument 2) [-Wformat=]
   scanf("%s%f%f%c%c%d",name[i].c_str(),&cj,&bp,&gb,&xb,&lw);
                                                           ^
/in/foo.cc:13:59: warning: format '%f' expects argument of type 'float*', but argument 3 has type 'float (*)[(n + 2)]' [-Wformat=]
/in/foo.cc:13:59: warning: format '%f' expects argument of type 'float*', but argument 4 has type 'float (*)[(n + 2)]' [-Wformat=]
/in/foo.cc:13:59: warning: format '%c' expects argument of type 'char*', but argument 5 has type 'char (*)[(n + 2)]' [-Wformat=]
/in/foo.cc:13:59: warning: format '%c' expects argument of type 'char*', but argument 6 has type 'char (*)[(n + 2)]' [-Wformat=]
/in/foo.cc:13:59: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'int (*)[(n + 2)]' [-Wformat=]
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 348.0 KiB

信息

递交者
类型
自测
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2018-02-06 14:36:32
评测时间
2018-02-06 14:36:32
评测机
分数
0
总耗时
4ms
峰值内存
348.0 KiB