Pagini recente » Borderou de evaluare (job #1118944) | Borderou de evaluare (job #2750550) | Borderou de evaluare (job #823500) | Borderou de evaluare (job #966281) | Borderou de evaluare (job #2473924)
Borderou de evaluare (job #2473924)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:73:26: 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:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
main.cpp:277:12: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", smax, pmax + 1, max + 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:277:12: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
| 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 | 3ms | 131kb | OK | 5 |
| 6 | 5ms | 131kb | OK | 5 |
| 7 | 8ms | 131kb | OK | 5 |
| 8 | 10ms | 131kb | OK | 5 |
| 9 | 30ms | 131kb | OK | 5 |
| 10 | 69ms | 131kb | OK | 5 |
| 11 | 128ms | 131kb | OK | 5 |
| 12 | 203ms | 131kb | OK | 5 |
| 13 | 242ms | 131kb | OK | 5 |
| 14 | 252ms | 131kb | OK | 5 |
| 15 | 1089ms | 131kb | OK | 5 |
| 16 | 1462ms | 131kb | OK | 5 |
| 17 | 1564ms | 163kb | OK | 5 |
| 18 | 1268ms | 262kb | OK | 5 |
| 19 | 1561ms | 167kb | OK | 5 |
| 20 | 1351ms | 167kb | OK | 5 |
| Punctaj total | 100 |