/in/foo.cc: In function 'int main()':
/in/foo.cc:5:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~^ ~~
| | |
| int* int
/in/foo.cc:5:22: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~^ ~~
| | |
| int* int
/in/foo.cc:5:24: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat=]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~^ ~~
| | |
| int* int
/in/foo.cc:5:26: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat=]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~^ ~
| | |
| int* int
/in/foo.cc:5:28: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'int' [-Wformat=]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~^ ~
| | |
| int* int
/in/foo.cc:5:17: warning: 'v1' is used uninitialized in this function [-Wuninitialized]
5 | while (scanf("%d%d%d%d%d", v1, v2, v3, e, l) != EOF) {
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:5:17: warning: 'v2' is used uninitialized in this function [-Wuninitialized]
/in/foo.cc:5:17: warning: 'v3' is used uninitialized in this function [-Wuninitialized]
/in/foo.cc:5:17: warning: 'e' is used uninitialized in this function [-Wuninitialized]
/in/foo.cc:5:17: warning: 'l' is used uninitialized in this function [-Wuninitialized]