Pagini recente » Borderou de evaluare (job #1980849) | Borderou de evaluare (job #191942) | Borderou de evaluare (job #1396765) | Borderou de evaluare (job #3122335) | Borderou de evaluare (job #1375406)
Borderou de evaluare (job #1375406)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out","w",stdout);
^
user.cpp:13:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &n) , EM = 0 , k = 2 , i = 1; i <= n; ++i)
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 288kb | OK | 10 |
| 5 | 12ms | 448kb | OK | 10 |
| 6 | 24ms | 644kb | OK | 10 |
| 7 | 52ms | 1036kb | OK | 10 |
| 8 | 120ms | 2212kb | OK | 10 |
| 9 | 256ms | 4160kb | OK | 10 |
| 10 | 268ms | 4156kb | OK | 10 |
| Punctaj total | 100 |