Pagini recente » Borderou de evaluare (job #2517852) | Borderou de evaluare (job #11289) | Borderou de evaluare (job #1980092) | Borderou de evaluare (job #3168228) | Borderou de evaluare (job #1316461)
Borderou de evaluare (job #1316461)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:13: warning: unused variable ‘x’ [-Wunused-variable]
int n,i,x,nr=0,k=1,maax=0,poz,s=0;
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:10:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:41:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sum[poz]=-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 508kb | OK | 10 |
5 | 16ms | 976kb | OK | 10 |
6 | 36ms | 1500kb | OK | 10 |
7 | 88ms | 2604kb | OK | 10 |
8 | 144ms | 3896kb | OK | 10 |
9 | 160ms | 4324kb | OK | 10 |
10 | 180ms | 4756kb | OK | 10 |
Punctaj total | 100 |