Pagini recente » Borderou de evaluare (job #3122455) | Borderou de evaluare (job #2221947) | Borderou de evaluare (job #866072) | Borderou de evaluare (job #559478) | Borderou de evaluare (job #3281094)
Borderou de evaluare (job #3281094)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:9: warning: unused variable 'i' [-Wunused-variable]
11 | int i,k=0,f[123]={0},x=0,y=0,j;
| ^
main.cpp:11:26: warning: unused variable 'x' [-Wunused-variable]
11 | int i,k=0,f[123]={0},x=0,y=0,j;
| ^
main.cpp:11:30: warning: unused variable 'y' [-Wunused-variable]
11 | int i,k=0,f[123]={0},x=0,y=0,j;
| ^
main.cpp:11:34: warning: variable 'j' set but not used [-Wunused-but-set-variable]
11 | int i,k=0,f[123]={0},x=0,y=0,j;
| ^
main.cpp:9:9: warning: unused variable 'g' [-Wunused-variable]
9 | int g[100],l=0;
| ^
main.cpp:9:16: warning: unused variable 'l' [-Wunused-variable]
9 | int g[100],l=0;
| ^
main.cpp:24:19: warning: iteration 75 invokes undefined behavior [-Waggressive-loop-optimizations]
24 | if(f[i]>0)
| ~~~^
main.cpp:23:23: note: within this loop
23 | for(int i=48;i<=123;i++)
| ~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |