Pagini recente » Borderou de evaluare (job #781645) | Borderou de evaluare (job #102922) | Cod sursa (job #687) | Cod sursa (job #2117910) | Borderou de evaluare (job #1157100)
Borderou de evaluare (job #1157100)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:29: warning: too many arguments for format [-Wformat-extra-args]
fscanf(f,"%d%d",&n,&m,&a);
^
user.cpp:17:14: warning: statement has no effect [-Wunused-value]
x1[i]+x1[i-1];
^
user.cpp:22:14: warning: statement has no effect [-Wunused-value]
y1[i]+y1[i-1];
^
user.cpp:10:17: warning: unused variable ‘ok’ [-Wunused-variable]
int n,m,i,j,ok,nr,tot,sum,a,sum2,max;
^
user.cpp:10:20: warning: variable ‘nr’ set but not used [-Wunused-but-set-variable]
int n,m,i,j,ok,nr,tot,sum,a,sum2,max;
^
user.cpp:26:12: warning: unused variable ‘k2’ [-Wunused-variable]
int k1,k2,p,l,op;
^
user.cpp:26:15: warning: unused variable ‘p’ [-Wunused-variable]
int k1,k2,p,l,op;
^
user.cpp:26:17: warning: unused variable ‘l’ [-Wunused-variable]
int k1,k2,p,l,op;
^
user.cpp:26:19: warning: unused variable ‘op’ [-Wunused-variable]
int k1,k2,p,l,op;
^
user.cpp:46:24: warning: ‘tot’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g,"%d",tot);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Incorect | 0 |
2 | 4ms | 232kb | Incorect | 0 |
3 | 4ms | 236kb | Incorect | 0 |
4 | 12ms | 236kb | Incorect | 0 |
5 | Depăşit | 248kb | Time limit exceeded. | 0 |
6 | Depăşit | 276kb | Time limit exceeded. | 0 |
7 | Depăşit | 320kb | Time limit exceeded. | 0 |
8 | Depăşit | 380kb | Time limit exceeded. | 0 |
9 | Depăşit | 416kb | Time limit exceeded. | 0 |
10 | Depăşit | 424kb | Time limit exceeded. | 0 |
Punctaj total | 0 |