Pagini recente » Borderou de evaluare (job #3267220) | Borderou de evaluare (job #556519) | Borderou de evaluare (job #1764938) | Borderou de evaluare (job #1990598) | Borderou de evaluare (job #1929947)
Borderou de evaluare (job #1929947)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:11: warning: unused variable ‘a’ [-Wunused-variable]
int n,a,i,av=0,el,nr=0;
^
user.cpp:6: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:7: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 264kb | OK | 10 |
| 4 | 0ms | 300kb | OK | 10 |
| 5 | 12ms | 456kb | OK | 10 |
| 6 | 24ms | 652kb | OK | 10 |
| 7 | 56ms | 1040kb | OK | 10 |
| 8 | 128ms | 2216kb | OK | 10 |
| 9 | 268ms | 4164kb | OK | 10 |
| 10 | 268ms | 4168kb | OK | 10 |
| Punctaj total | 100 |