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