Pagini recente » Borderou de evaluare (job #1951149) | Borderou de evaluare (job #521395) | Borderou de evaluare (job #1420856) | Borderou de evaluare (job #1500043) | Borderou de evaluare (job #1384539)
Borderou de evaluare (job #1384539)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[j]>v[i])
^
user.cpp:20:18: warning: variable ‘pr’ set but not used [-Wunused-but-set-variable]
int i,n,lmax,pr,li,j;
^
user.cpp:20:21: warning: unused variable ‘li’ [-Wunused-variable]
int i,n,lmax,pr,li,j;
^
user.cpp:22: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:25: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 | 264kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 4ms | 284kb | Incorect | 0 |
7 | 0ms | 256kb | OK | 10 |
8 | 56ms | 320kb | Incorect | 0 |
9 | 84ms | 328kb | Incorect | 0 |
10 | 72ms | 336kb | Incorect | 0 |
Punctaj total | 50 |