Pagini recente » Borderou de evaluare (job #240209) | Borderou de evaluare (job #2045370) | Borderou de evaluare (job #2597943) | Borderou de evaluare (job #931608) | Borderou de evaluare (job #2290345)
Borderou de evaluare (job #2290345)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25: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:41: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:93:12: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", smax, pmax + 1, max + 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:93: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 | 65ms | 131kb | OK | 5 |
| 11 | 124ms | 262kb | OK | 5 |
| 12 | 182ms | 131kb | OK | 5 |
| 13 | 225ms | 131kb | OK | 5 |
| 14 | 281ms | 131kb | OK | 5 |
| 15 | 1314ms | 131kb | OK | 5 |
| 16 | 1421ms | 167kb | OK | 5 |
| 17 | 1479ms | 131kb | OK | 5 |
| 18 | 1288ms | 131kb | OK | 5 |
| 19 | 1317ms | 131kb | OK | 5 |
| 20 | 1317ms | 131kb | OK | 5 |
| Punctaj total | 100 |