/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:21:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   21 |  printf ("%d", ans);
      |           ~^   ~~~
      |            |   |
      |            int long long int
      |           %lld
foo.cc:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |  scanf ("%lld", &n);
      |  ~~~~~~^~~~~~~~~~~~
foo.cc:14:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |  scanf ("%lld %lld", &a, &b);
      |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |  scanf ("%lld %lld", &f[i].l, &f[i].r), f[i].v = f[i].l - f[i].r;
      |  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 144, expect 480. 1ms 384.0 KiB
#2 Wrong Answer Read 3456, expect 11520. 1ms 384.0 KiB
#3 Wrong Answer Read 11943936, expect 4478976. 1ms 384.0 KiB
#4 Wrong Answer Read 11059200, expect 3538944. 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Wrong Answer Read 377062240, expect 4797203784333510.... 2ms 384.0 KiB
#8 Wrong Answer Read 377062240, expect 4797203784333510.... 2ms 384.0 KiB
#9 Wrong Answer Read 377062240, expect 4797203784333510.... 2ms 384.0 KiB
#10 Wrong Answer Read -264758258, expect 8666834072348123.... 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1779 国王游戏
语言
C++
递交时间
2022-01-15 09:54:49
评测时间
2022-01-15 09:54:49
评测机
分数
20
总耗时
21ms
峰值内存
384.0 KiB