/ Vijos /

记录详情

Wrong Answer

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

信息

递交者
类型
递交
题目
P1374 电子表
语言
C++
递交时间
2021-12-16 18:57:03
评测时间
2021-12-16 18:57:03
评测机
分数
10
总耗时
61ms
峰值内存
512.0 KiB