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)提供评测服务