Accepted
foo.cc: In function ‘int main()’: foo.cc:6:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000000000]’ [-Wformat=] 6 | scanf("%s",&arr); | ~^ ~~~~ | | | | | char (*)[1000000000] | char* foo.cc:11:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 11 | for(i=0;i<strlen(arr);i++) | ~^~~~~~~~~~~~
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1080 1-1 数字循环左移
- 语言
- C++
- 递交时间
- 2024-08-15 08:58:38
- 评测时间
- 2024-08-15 08:58:38
- 评测机
- 分数
- 100
- 总耗时
- 12ms
- 峰值内存
- 540.0 KiB