Pagini recente » Borderou de evaluare (job #641916) | Borderou de evaluare (job #2787004) | Borderou de evaluare (job #1382753) | Borderou de evaluare (job #3042846) | Borderou de evaluare (job #1493602)
Borderou de evaluare (job #1493602)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
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:32:43: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", p1+1, p2+1, max);
^
user.cpp:32:43: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Incorect | 0 |
2 | 4ms | 324kb | Incorect | 0 |
3 | 20ms | 524kb | Incorect | 0 |
4 | 24ms | 564kb | Incorect | 0 |
5 | 28ms | 660kb | Incorect | 0 |
6 | 40ms | 736kb | Incorect | 0 |
7 | 64ms | 1052kb | Incorect | 0 |
8 | 96ms | 1444kb | Incorect | 0 |
9 | Depăşit | 1592kb | Time limit exceeded. | 0 |
10 | Depăşit | 1596kb | Time limit exceeded. | 0 |
Punctaj total | 0 |