Borderou de evaluare (job #3219666)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
23 | fscanf(f,"%d",&t);
| ~^ ~~
| | |
| | char*
| int*
| %hhd
main.cpp:26:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
26 | fscanf(f,"%d",&n);
| ~^ ~~
| | |
| | char*
| int*
| %hhd
main.cpp:30:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
30 | fscanf(f,"%d",&a);
| ~^ ~~
| | |
| | char*
| int*
| %hhd
main.cpp:36:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'char*' [-Wformat=]
36 | fscanf(f,"%d",&a);
| ~^ ~~
| | |
| | char*
| int*
| %hhd
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |