Borderou de evaluare (job #678133)

Utilizator avatar paun_daniel Daniel Paun paun_daniel IP ascuns
Problemă Intervale Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 nov. 2022 18:04:21 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:38: warning: unused variable 'x' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^ main.c:8:35: warning: unused variable 'n' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^ main.c:8:31: warning: unused variable 't2' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^~ main.c:8:28: warning: unused variable 'j' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^ main.c:8:21: warning: unused variable 't1' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^~ main.c:8:9: warning: unused variable 'p' [-Wunused-variable] 8 | int p, numar=0, t1, i, j, t2, n, x, a,b,k; | ^ main.c:26:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin,"%d",&a);fscanf(fin,"%d",&b); fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:26:30: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin,"%d",&a);fscanf(fin,"%d",&b); fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:26:51: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf(fin,"%d",&a);fscanf(fin,"%d",&b); fscanf(fin,"%d",&k); | ^~~~~~~~~~~~~~~~~~~ main.c:15:25: warning: iteration 99998 invokes undefined behavior [-Waggressive-loop-optimizations] 15 | if(!ciur[i]) { | ~~~~^~~ main.c:14:26: note: within this loop 14 | for(int i = 2; i <= 100000; i++) { | ~~^~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 7 ms 512 kb Incorect 0
2 9 ms 503 kb Incorect 0
3 8 ms 507 kb Incorect 0
4 6 ms 507 kb Incorect 0
5 9 ms 507 kb Incorect 0
6 10 ms 512 kb Killed by Signal 11 0
7 29 ms 499 kb Incorect 0
8 514 ms 552 kb Time limit exceeded 0
9 5 ms 507 kb Killed by Signal 11 0
10 9 ms 512 kb Killed by Signal 11 0
Punctaj total 0