Pagini recente »
Borderou de evaluare (job #751115)
Borderou de evaluare (job #751115)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
18 | if(y%2==0 && cx%10!=a || y%2==1 && cx%10!=b)
| ~~~~~~~^~~~~~~~~~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin,"%d",&x);
| ^~~~~~~~~~~~~~~~~~~
main.c:18:23: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
18 | if(y%2==0 && cx%10!=a || y%2==1 && cx%10!=b)
| ~~~~~~~^~~~~~~~~~~
main.c:6:9: note: 'a' was declared here
6 | int a,b,i=0,y=0,n,cx,e=1,x,u;
| ^
main.c:18:45: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
18 | if(y%2==0 && cx%10!=a || y%2==1 && cx%10!=b)
| ~~~~~~~^~~~~~~~~~~
main.c:6:11: note: 'b' was declared here
6 | int a,b,i=0,y=0,n,cx,e=1,x,u;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
109 ms
|
323 kb
|
Time limit exceeded
|
0
|
2
|
109 ms
|
323 kb
|
Time limit exceeded
|
0
|
3
|
109 ms
|
315 kb
|
Time limit exceeded
|
0
|
4
|
109 ms
|
315 kb
|
Time limit exceeded
|
0
|
5
|
109 ms
|
335 kb
|
Time limit exceeded
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
106 ms
|
311 kb
|
Time limit exceeded
|
0
|
9
|
109 ms
|
315 kb
|
Time limit exceeded
|
0
|
10
|
109 ms
|
323 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|