Pagini recente » Cod sursa (job #1639636) | Borderou de evaluare (job #996582) | Borderou de evaluare (job #2551636) | Borderou de evaluare (job #996586) | Borderou de evaluare (job #2599981)
Borderou de evaluare (job #2599981)
Raport evaluator
Compilare:
main.cpp: In function 'void afisare(long long int)':
main.cpp:77:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d",val);
^
main.cpp: In function 'int main()':
main.cpp:117:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&n);
^
main.cpp:121:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d",&f);
^
main.cpp:135:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d\n",z);
^
main.cpp:138:47: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(fout,"%d %d\n",r[i].h,r[i].sol);
^
main.cpp:138:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
main.cpp:117:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:121:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&f);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 5 |
| 2 | 2ms | 131kb | OK! | 5 |
| 3 | 2ms | 131kb | OK! | 5 |
| 4 | 2ms | 131kb | OK! | 5 |
| 5 | 19ms | 917kb | OK! | 5 |
| 6 | 19ms | 974kb | OK! | 5 |
| 7 | 75ms | 3538kb | Lungime incorecta! | 0 |
| 8 | 72ms | 3538kb | Lungime incorecta! | 0 |
| 9 | 196ms | 10223kb | Lungime incorecta! | 0 |
| 10 | 198ms | 10223kb | Lungime incorecta! | 0 |
| 11 | 328ms | 17039kb | Lungime incorecta! | 0 |
| 12 | 333ms | 17039kb | Lungime incorecta! | 0 |
| 13 | 659ms | 34078kb | Lungime incorecta! | 0 |
| 14 | 737ms | 65552kb | Memory limit exceeded | 0 |
| 15 | 540ms | 65552kb | Memory limit exceeded | 0 |
| 16 | 527ms | 65552kb | Memory limit exceeded | 0 |
| 17 | 550ms | 65552kb | Memory limit exceeded | 0 |
| 18 | 533ms | 65552kb | Memory limit exceeded | 0 |
| 19 | 528ms | 65552kb | Memory limit exceeded | 0 |
| 20 | 555ms | 65552kb | Memory limit exceeded | 0 |
| Punctaj total | 30 |