/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:5: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |     ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:15: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |               ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:25: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |                         ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:35: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |                                   ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:46: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |                                              ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:3:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                         ^~~~~~~
foo.cc:62:56: note: in expansion of macro 'GetI64'
   62 |     GetI64(m);GetI64(a);GetI64(c);GetI64(x0);GetI64(n);GetI64(g);
      |                                                        ^~~~~~
foo.cc:3:30: note: format string is defined here
    3 | #define GetI64(x) scanf("%I64d",&x)
      |                          ~~~~^
      |                              |
      |                              int*
      |                          %I64lld
foo.cc:4:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
    4 | #define PutI64(x,arg...) printf("%I64d" arg,x)
      |                                 ^
foo.cc:75:5: note: in expansion of macro 'PutI64'
   75 |     PutI64(x,"\n");
      |     ^~~~~~
foo.cc:4:38: note: format string is defined here
    4 | #define PutI64(x,arg...) printf("%I64d" arg,x)
      |                                  ~~~~^
      |                                      |
      |                                      int
      |                                  %I64lld
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 0. 4ms 412.0 KiB
#2 Wrong Answer Read 1, expect 1. 4ms 284.0 KiB
#3 Wrong Answer Read 3784, expect 81. 3ms 332.0 KiB
#4 Wrong Answer Read 3246, expect 261. 4ms 284.0 KiB
#5 Wrong Answer Read 2101, expect 2101. 3ms 412.0 KiB
#6 Wrong Answer Read 5247, expect 6631. 2ms 284.0 KiB
#7 Wrong Answer Read 3722, expect 201. 2ms 516.0 KiB
#8 Wrong Answer Read 6263, expect 255. 2ms 412.0 KiB
#9 Wrong Answer Read 180415622, expect 72708993. 4ms 412.0 KiB
#10 Wrong Answer Read 376333539, expect 9662152. 2ms 516.0 KiB
#11 Wrong Answer Read 329039364, expect 1825155. 2ms 516.0 KiB
#12 Wrong Answer Read 688636103, expect 316481. 2ms 412.0 KiB
#13 Wrong Answer Read 42205861, expect 1118145. 3ms 516.0 KiB
#14 Wrong Answer Read 535272057, expect 809061. 3ms 412.0 KiB
#15 Wrong Answer Read 5149868, expect 10845881. 3ms 412.0 KiB
#16 Wrong Answer Read 416375029, expect 947514. 3ms 412.0 KiB
#17 Wrong Answer Read 718466510, expect 6555659. 3ms 328.0 KiB
#18 Wrong Answer Read 520708751, expect 53255140. 4ms 412.0 KiB
#19 Wrong Answer Read 1731150264, expect 54405008. 4ms 408.0 KiB
#20 Wrong Answer Read 393478196, expect 85185812. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1725 随机数生成器
语言
C++
递交时间
2024-01-01 18:44:06
评测时间
2024-01-01 18:44:06
评测机
分数
0
总耗时
69ms
峰值内存
516.0 KiB