记录详情

Wrong Answer

/in/foo.cc:12:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  A(char *Name="Noname", int sum1 = 0, int sum2 = 0)
               ^~~~~~~~
/in/foo.cc:19:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  void set(char *Name1="Noname", int sum1 = 0, int sum2 = 0)
                       ^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:57:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  A x;
    ^
# 状态 耗时 内存占用
#1 Accepted 2ms 212.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Wrong Answer 1ms 228.0 KiB
#7 Wrong Answer 1ms 216.0 KiB
#8 Accepted 2ms 232.0 KiB
#9 Wrong Answer 2ms 216.0 KiB
#10 Wrong Answer 2ms 228.0 KiB

信息

递交者
类型
递交
题目
P1154 谁拿了最多奖学金
语言
C++
递交时间
2020-08-04 12:24:54
评测时间
2020-08-04 12:24:54
评测机
分数
30
总耗时
20ms
峰值内存
232.0 KiB