Pagini recente » Borderou de evaluare (job #1024681) | Borderou de evaluare (job #1087454) | Borderou de evaluare (job #1566046) | Borderou de evaluare (job #1381917) | Borderou de evaluare (job #1384532)
Borderou de evaluare (job #1384532)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[j]>v[i])
^
user.cpp:19:18: warning: variable ‘pr’ set but not used [-Wunused-but-set-variable]
int i,n,lmax,pr,li,j,cnt=0;
^
user.cpp:19:21: warning: unused variable ‘li’ [-Wunused-variable]
int i,n,lmax,pr,li,j,cnt=0;
^
user.cpp:20: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:23: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 | Incorect | 0 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 248kb | Incorect | 0 |
6 | 4ms | 280kb | Incorect | 0 |
7 | 0ms | 252kb | OK | 10 |
8 | 56ms | 316kb | Incorect | 0 |
9 | 88ms | 324kb | Incorect | 0 |
10 | 76ms | 328kb | Incorect | 0 |
Punctaj total | 40 |