Pagini recente » Borderou de evaluare (job #1089263) | Borderou de evaluare (job #2323907) | Borderou de evaluare (job #230128) | Borderou de evaluare (job #876642) | Borderou de evaluare (job #1458759)
Borderou de evaluare (job #1458759)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:19:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &v[i]);
^
user.cpp:38:72: warning: ‘bestRight’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(f, "%d %d %d\n", bestLeft + 1, bestRight + 1, (maxValue << 1));
^
user.cpp:38:72: warning: ‘bestLeft’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 10 |
3 | 0ms | 260kb | OK | 10 | 10 |
4 | 0ms | 292kb | OK | 10 | 10 |
5 | 24ms | 644kb | Incorect | 0 | 0 |
6 | 240ms | 4160kb | Incorect | 0 |
7 | 248ms | 4164kb | Incorect | 0 |
8 | 260ms | 4156kb | Incorect | 0 | 0 |
9 | 260ms | 4160kb | Incorect | 0 | 0 |
10 | 232ms | 4164kb | Incorect | 0 | 0 |
Punctaj total | 40 |