Pagini recente » Borderou de evaluare (job #194319) | Borderou de evaluare (job #2983676) | Borderou de evaluare (job #2005094) | Borderou de evaluare (job #2429174) | Borderou de evaluare (job #2181268)
Borderou de evaluare (job #2181268)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sprim.in", "r", stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sprim.out", "w", stdout);
^
user.cpp:32:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", a + i); x = a[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | 31336kb | OK | 10 |
| 2 | 36ms | 31208kb | OK | 10 |
| 3 | 36ms | 31260kb | OK | 10 |
| 4 | 44ms | 31408kb | OK | 10 |
| 5 | 96ms | 31584kb | OK | 10 |
| 6 | 96ms | 31796kb | OK | 10 |
| 7 | 116ms | 31968kb | OK | 10 |
| 8 | 236ms | 32832kb | OK | 10 |
| 9 | 236ms | 32920kb | OK | 10 |
| 10 | 232ms | 32940kb | OK | 10 |
| Punctaj total | 100 |