Pagini recente » Borderou de evaluare (job #2322177) | Borderou de evaluare (job #2190582) | Borderou de evaluare (job #1396168) | Borderou de evaluare (job #1602450) | Borderou de evaluare (job #1430878)
Borderou de evaluare (job #1430878)
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 | 432kb | OK | 5 |
| 3 | 0ms | 428kb | OK | 5 |
| 4 | 0ms | 436kb | OK | 5 |
| 5 | 0ms | 460kb | OK | 5 |
| 6 | 0ms | 476kb | OK | 5 |
| 7 | 4ms | 516kb | OK | 5 |
| 8 | 4ms | 556kb | OK | 5 |
| 9 | 20ms | 828kb | OK | 5 |
| 10 | 44ms | 1220kb | OK | 5 |
| 11 | 84ms | 2004kb | OK | 5 |
| 12 | 136ms | 2784kb | OK | 5 |
| 13 | 192ms | 3568kb | OK | 5 |
| 14 | 228ms | 4340kb | OK | 5 |
| 15 | 940ms | 19968kb | OK | 5 |
| 16 | 1140ms | 21920kb | OK | 5 |
| 17 | 1212ms | 21916kb | OK | 5 |
| 18 | 1344ms | 23868kb | OK | 5 |
| 19 | 1236ms | 23876kb | OK | 5 |
| 20 | 1260ms | 23872kb | OK | 5 |
| Punctaj total | 100 |