/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:122:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  122 |                 if(y < size && isHenOrShu == oldIsHenOrShu
      |                    ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:99:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   99 |     scanf("%d", &size); getchar();
      |     ~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4, expect 3. 2ms 256.0 KiB
#2 Wrong Answer Read 10, expect 8. 2ms 256.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Wrong Answer Read 1196, expect 1195. 3ms 384.0 KiB
#5 Accepted 5ms 768.0 KiB
#6 Wrong Answer Read 33506, expect 33489. 6ms 896.0 KiB
#7 Wrong Answer Read 193643, expect 193636. 20ms 1.875 MiB
#8 Runtime Error Segmentation fault 19ms 1.875 MiB
#9 Runtime Error Segmentation fault 29ms 1.75 MiB
#10 Runtime Error Segmentation fault 29ms 1.75 MiB

信息

递交者
类型
递交
题目
P1467 菱形内的计数
语言
C++
递交时间
2022-07-02 15:47:04
评测时间
2022-07-02 16:01:12
评测机
分数
20
总耗时
123ms
峰值内存
1.875 MiB