/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:3: error: 'montey' was not declared in this scope
   montey = 0;
   ^~~~~~
/in/foo.cc:11:48: warning: format '%c' expects argument of type 'char*', but argument 4 has type 'int*' [-Wformat=]
   scanf("%s &d %d %c %c %d",name,&a,&b,&c,&d,&e);
                                                ^
/in/foo.cc:11:48: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'char*' [-Wformat=]
/in/foo.cc:11:48: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc:19:10: error: invalid array assignment
    max = name;
          ^~~~

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2019-03-18 21:17:44
评测时间
2019-03-18 21:17:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes