Pagini recente » Borderou de evaluare (job #3246104) | Borderou de evaluare (job #2578674) | Borderou de evaluare (job #151782) | Borderou de evaluare (job #205152) | Borderou de evaluare (job #1527237)
Borderou de evaluare (job #1527237)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:13: warning: unused variable ‘max’ [-Wunused-variable]
int i,k,x,n,max;
^
user.cpp:4: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:5: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:7:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:8:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i<n;++i) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 12ms | 456kb | OK | 10 |
6 | 28ms | 652kb | OK | 10 |
7 | 52ms | 1048kb | OK | 10 |
8 | 128ms | 2216kb | OK | 10 |
9 | 232ms | 4164kb | OK | 10 |
10 | 256ms | 4164kb | OK | 10 |
Punctaj total | 100 |