Pagini recente » Borderou de evaluare (job #245092) | Borderou de evaluare (job #808808) | Borderou de evaluare (job #1372452) | Borderou de evaluare (job #148349) | Borderou de evaluare (job #1384505)
Borderou de evaluare (job #1384505)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[j]<v[i])
^
user.cpp:18:18: warning: variable ‘pr’ set but not used [-Wunused-but-set-variable]
int i,n,lmax,pr,li,j,cnt=0;
^
user.cpp:18:21: warning: unused variable ‘li’ [-Wunused-variable]
int i,n,lmax,pr,li,j,cnt=0;
^
user.cpp:19:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:22:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 0ms | 252kb | OK | 10 |
7 | 0ms | 252kb | OK | 10 |
8 | 0ms | 256kb | OK | 10 |
9 | 4ms | 264kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |