/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:47:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if(k=R*C) break;
       ~^~~~
foo.cc:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d %d",&R,&C);
  ~~~~~^~~~~~~~~~~~~~~
foo.cc:36:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&D[i][j]);
    ~~~~~^~~~~~~~~~~~~~~
foo.cc:50:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
  system("pause");
  ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 5ms 376.0 KiB
#2 Runtime Error Segmentation fault 1ms 256.0 KiB
#3 Runtime Error Segmentation fault 4ms 352.0 KiB
#4 Wrong Answer Read 11790, expect 12. 2ms 624.0 KiB
#5 Runtime Error Segmentation fault 4ms 384.0 KiB
#6 Wrong Answer Read 14514, expect 12. 2ms 624.0 KiB
#7 Runtime Error Segmentation fault 1ms 256.0 KiB
#8 Runtime Error Segmentation fault 5ms 332.0 KiB
#9 Runtime Error Segmentation fault 2ms 256.0 KiB
#10 Runtime Error Segmentation fault 4ms 360.0 KiB

信息

递交者
类型
递交
题目
P1011 清帝之惑之顺治
语言
C++
递交时间
2021-11-04 15:36:18
评测时间
2021-11-04 15:36:18
评测机
分数
0
总耗时
35ms
峰值内存
624.0 KiB