Pagini recente » Borderou de evaluare (job #1989775) | Borderou de evaluare (job #1877090) | Borderou de evaluare (job #1285130) | Borderou de evaluare (job #1331515) | Borderou de evaluare (job #1458761)
Borderou de evaluare (job #1458761)
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:39:72: warning: ‘bestRight’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(f, "%d %d %d\n", bestLeft + 1, bestRight + 1, (maxValue << 1));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 256kb | OK | 10 | 10 |
| 2 | 0ms | 260kb | OK | 10 | 10 |
| 3 | 0ms | 260kb | OK | 10 | 10 |
| 4 | 0ms | 296kb | OK | 10 | 10 |
| 5 | 24ms | 648kb | OK | 10 | 30 |
| 6 | 256ms | 4160kb | OK | 10 |
| 7 | 244ms | 4156kb | OK | 10 |
| 8 | 252ms | 4164kb | OK | 10 | 10 |
| 9 | 252ms | 4160kb | OK | 10 | 10 |
| 10 | 256ms | 4160kb | OK | 10 | 10 |
| Punctaj total | 100 |