Runtime Error
/in/foo.cc: In function 'int main()': /in/foo.cc:42:15: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[200010]' [-Wformat=] scanf("%s",&s); ^ /in/foo.cc: In function 'void solve()': /in/foo.cc:12:13: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] if(s[first-1]==s[last+1]) ~~~~~^~ /in/foo.cc:16:6: note: 'first' was declared here void solve() ^~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 2019.2.11 Problem A - string
- 比赛
- 2019.2.11测验
- 语言
- C++
- 递交时间
- 2019-02-11 15:54:40
- 评测时间
- 2019-02-11 15:54:40
- 评测机
- 分数
- 10
- 总耗时
- 27ms
- 峰值内存
- 608.0 KiB