/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    5 | scanf("%d%d",&n,&m);
      | ~~~~~^~~~~~~~~~~~~~
foo.cc:8:4: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
    8 | ans+=max(0,(n-i+1)*(m-i+1));
      | ~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 665345652, expect 3632. 4ms 384.0 KiB
#2 Wrong Answer Read 1302092654, expect 11958. 5ms 384.0 KiB
#3 Wrong Answer Read -1734935698, expect 10099. 2ms 384.0 KiB
#4 Wrong Answer Read -1199513288, expect 357832. 3ms 384.0 KiB
#5 Wrong Answer Read 407404386, expect 507969. 3ms 384.0 KiB
#6 Wrong Answer Read 396156368, expect 718523. 3ms 384.0 KiB
#7 Wrong Answer Read 271491222, expect 822309. 2ms 384.0 KiB
#8 Wrong Answer Read -2135013668, expect 1004763. 3ms 384.0 KiB
#9 Wrong Answer Read -448362788, expect 1002683. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1556 对称的正方形
语言
C++
递交时间
2022-03-27 20:27:02
评测时间
2022-03-27 20:27:02
评测机
分数
0
总耗时
32ms
峰值内存
384.0 KiB