/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'bool cmp(two, two)':
foo.cc:10:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |  return a.h<b.h||a.h==b.h&&a.s>b.s;
      |                  ~~~~~~~~^~~~~~~~~
foo.cc: At global scope:
foo.cc:56:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   56 | main()
      |      ^
foo.cc: In function 'int main()':
foo.cc:58:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   58 |  scanf("%lld",&n);
      |  ~~~~~^~~~~~~~~~~
foo.cc:62:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   62 |   scanf("%lld%lld%lld%lld",&a,&b,&x,&y);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Wrong Answer Read 134, expect 836. 2ms 384.0 KiB
#4 Wrong Answer Read 150, expect 1939. 2ms 384.0 KiB
#5 Wrong Answer Read 94736, expect 571613184. 5ms 1.375 MiB
#6 Runtime Error Segmentation fault 8ms 2.625 MiB
#7 Runtime Error Segmentation fault 2ms 384.0 KiB
#8 Wrong Answer Read 400000000, expect 40000000000000000. 2ms 384.0 KiB
#9 Runtime Error Segmentation fault 3ms 384.0 KiB
#10 Runtime Error Segmentation fault 5ms 384.0 KiB

信息

递交者
类型
递交
题目
P1056 图形面积
语言
C++
递交时间
2022-06-05 14:41:31
评测时间
2022-06-05 14:41:31
评测机
分数
20
总耗时
39ms
峰值内存
2.625 MiB