/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL*' {aka 'long long int*'} [-Wformat=]
   17 |   scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
      |          ~^         ~~~
      |           |         |
      |           int*      LL* {aka long long int*}
      |          %lld
foo.cc:17:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'LL*' {aka 'long long int*'} [-Wformat=]
   17 |   scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
      |            ~^            ~~~
      |             |            |
      |             int*         LL* {aka long long int*}
      |            %lld
foo.cc:17:15: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'LL*' {aka 'long long int*'} [-Wformat=]
   17 |   scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
      |              ~^               ~~~
      |               |               |
      |               int*            LL* {aka long long int*}
      |              %lld
foo.cc:17:17: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'LL*' {aka 'long long int*'} [-Wformat=]
   17 |   scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
      |                ~^                  ~~~
      |                 |                  |
      |                 int*               LL* {aka long long int*}
      |                %lld
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |   scanf("%d%d%d%d", &a0, &a1, &b0, &b1);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 3, expect 3. 1ms 384.0 KiB
#4 Wrong Answer Read 4, expect 3. 2ms 384.0 KiB
#5 Wrong Answer Read 0, expect 2. 4ms 384.0 KiB
#6 Wrong Answer Read 1, expect 4. 27ms 384.0 KiB
#7 Wrong Answer Read 18, expect 4. 94ms 512.0 KiB
#8 Wrong Answer Read 1, expect 8. 142ms 384.0 KiB
#9 Wrong Answer Read 0, expect 1. 774ms 400.0 KiB
#10 Wrong Answer Read 1, expect 4. 504ms 376.0 KiB

信息

递交者
类型
递交
题目
P1753 HankSon的趣味题
语言
C++
递交时间
2022-01-27 11:15:44
评测时间
2022-01-27 11:15:44
评测机
分数
20
总耗时
1556ms
峰值内存
512.0 KiB