Pagini recente » Borderou de evaluare (job #1668302) | Borderou de evaluare (job #2730160) | Borderou de evaluare (job #1937898) | Borderou de evaluare (job #2170931) | Borderou de evaluare (job #1430876)
Borderou de evaluare (job #1430876)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.cpp: In function ‘void readData()’:
user.cpp:16:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:17:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &N);
^
user.cpp:18:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i = 0; i < N; ++i) scanf(" %d", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:45:38: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", sum, st+1, en+1);
^
user.cpp:45:38: warning: ‘en’ may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 5 |
| 2 | 0ms | 440kb | Incorect | 0 |
| 3 | 0ms | 428kb | OK | 5 |
| 4 | 0ms | 440kb | OK | 5 |
| 5 | 0ms | 460kb | OK | 5 |
| 6 | 0ms | 476kb | OK | 5 |
| 7 | 4ms | 516kb | OK | 5 |
| 8 | 4ms | 556kb | OK | 5 |
| 9 | 20ms | 824kb | OK | 5 |
| 10 | 44ms | 1220kb | OK | 5 |
| 11 | 96ms | 2000kb | OK | 5 |
| 12 | 144ms | 2780kb | OK | 5 |
| 13 | 192ms | 3560kb | OK | 5 |
| 14 | 228ms | 4344kb | OK | 5 |
| 15 | 968ms | 19968kb | OK | 5 |
| 16 | 1216ms | 21920kb | OK | 5 |
| 17 | 1084ms | 21920kb | OK | 5 |
| 18 | 1240ms | 23876kb | OK | 5 |
| 19 | 1248ms | 23876kb | OK | 5 |
| 20 | 1248ms | 23872kb | OK | 5 |
| Punctaj total | 95 |