/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:65:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
 printf("%I64d", dist(str, g[length][sum]));
                 ~~~~~~~~~~~~~~~~~~~~~~~~~^
foo.cc:25:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d", &length);
 ~~~~~^~~~~~~~~~~~~~~
foo.cc:26:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
 scanf("%s", str);
 ~~~~~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 20, expect 20. 1ms 384.0 KiB
#2 Wrong Answer Read 10, expect 10. 1ms 408.0 KiB
#3 Wrong Answer Read 6, expect 6. 2ms 384.0 KiB
#4 Wrong Answer Read 329670656, expect 11120000000000. 4ms 412.0 KiB
#5 Wrong Answer Read 552894464, expect 200000000000000. 3ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Wrong Answer Read 43, expect 43. 1ms 384.0 KiB
#8 Wrong Answer Read 100003, expect 100003. 2ms 384.0 KiB
#9 Wrong Answer Read 100000000, expect 100000000. 1ms 384.0 KiB
#10 Wrong Answer Read 134, expect 134. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1374 电子表
语言
C++
递交时间
2021-08-10 21:47:46
评测时间
2021-08-10 21:47:46
评测机
分数
10
总耗时
23ms
峰值内存
412.0 KiB