Pagini recente » Borderou de evaluare (job #1246827) | Borderou de evaluare (job #590075) | Borderou de evaluare (job #1463797) | Borderou de evaluare (job #294955) | Borderou de evaluare (job #1679162)
Borderou de evaluare (job #1679162)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(in, "%ld", &r[i]);
^
user.cpp:20:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld%ld", &nr_of_roosters, &nr_of_hens);
^
user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &r[i]);
^
user.cpp:26:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &h[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 448kb | OK | 10 |
| 2 | 0ms | 448kb | OK | 10 |
| 3 | 0ms | 472kb | OK | 10 |
| 4 | 0ms | 468kb | OK | 10 |
| 5 | 156ms | 1620kb | OK | 10 |
| 6 | 216ms | 1620kb | OK | 10 |
| 7 | 276ms | 1616kb | OK | 10 |
| 8 | 320ms | 1624kb | OK | 10 |
| 9 | 364ms | 1620kb | OK | 10 |
| 10 | 492ms | 1620kb | OK | 10 |
| Punctaj total | 100 |