Pagini recente » Borderou de evaluare (job #1762192) | Borderou de evaluare (job #240556) | Borderou de evaluare (job #1078268) | Borderou de evaluare (job #2963760)
Borderou de evaluare (job #2963760)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
24 | for (fscanf(fin, "%d", &t); t-- && fscanf (fin, "%d", &n);)
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:24:55: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
24 | for (fscanf(fin, "%d", &t); t-- && fscanf (fin, "%d", &n);)
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:29:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
29 | fscanf (fin, "%d.%d", &xx, &yy);
| ~^ ~~~
| | |
| int* long long int*
| %lld
main.cpp:29:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
29 | fscanf (fin, "%d.%d", &xx, &yy);
| ~^ ~~~
| | |
| int* long long int*
| %lld
main.cpp:43:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
43 | fprintf(fout, "%d\n", numar);
| ~^ ~~~~~
| | |
| int long long int
| %lld
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 0 |