Pagini recente » Borderou de evaluare (job #2702386) | Borderou de evaluare (job #2536319) | Borderou de evaluare (job #1807354) | Borderou de evaluare (job #2890531) | Borderou de evaluare (job #1493635)
Borderou de evaluare (job #1493635)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:17: warning: unused variable ‘p2’ [-Wunused-variable]
int max=0, p1, p2, j;
^
user.cpp:20:21: warning: unused variable ‘j’ [-Wunused-variable]
int max=0, 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:31: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 | Incorect | 0 |
| 2 | 4ms | 320kb | Incorect | 0 |
| 3 | 20ms | 524kb | Incorect | 0 |
| 4 | 24ms | 568kb | Incorect | 0 |
| 5 | 32ms | 656kb | Incorect | 0 |
| 6 | 36ms | 740kb | Incorect | 0 |
| 7 | 64ms | 1048kb | Incorect | 0 |
| 8 | 96ms | 1440kb | Incorect | 0 |
| 9 | Depăşit | 1752kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1576kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |