/ OPS /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   14 |         for(int i=0;i<=strlen(c)-1;i++){
      |                     ~^~~~~~~~~~~~~
/in/foo.cc:24:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   24 |             if(i==strlen(c)-1) temp[x][y]='\0';
      |                ~^~~~~~~~~~~~~
/in/foo.cc:30:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   30 |             for(int j=0;j<=strlen(temp[i])-1;j++){
      |                         ~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:38:13: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   38 |         int num;
      |             ^~~
# 状态 耗时 内存占用
#1 Runtime Error 5ms 1.367 MiB

信息

递交者
类型
递交
题目
P1462 千年老二
语言
C++
递交时间
2024-03-10 13:36:19
评测时间
2024-03-10 13:36:19
评测机
分数
0
总耗时
5ms
峰值内存
1.367 MiB