Pagini recente » Borderou de evaluare (job #2816777) | Cod sursa (job #415656) | Borderou de evaluare (job #1231724) | Borderou de evaluare (job #1899572) | Borderou de evaluare (job #1493661)
Borderou de evaluare (job #1493661)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:23: warning: unused variable ‘p2’ [-Wunused-variable]
int max=-300001, p1, p2, j;
^
user.cpp:20:27: warning: unused variable ‘j’ [-Wunused-variable]
int max=-300001, p1, p2, j;
^
user.cpp:19:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &k);
^
user.cpp:22:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
user.cpp:30:43: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", p1+1, p1+k, max);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 4ms | 324kb | OK | 10 |
| 3 | 20ms | 524kb | OK | 10 |
| 4 | 24ms | 564kb | OK | 10 |
| 5 | 28ms | 664kb | OK | 10 |
| 6 | 36ms | 736kb | OK | 10 |
| 7 | 60ms | 1052kb | OK | 10 |
| 8 | 88ms | 1444kb | OK | 10 |
| 9 | Depăşit | 1832kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1628kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |