Pagini recente »
Borderou de evaluare (job #794104)
|
Borderou de evaluare (job #498655)
|
Borderou de evaluare (job #739491)
|
Borderou de evaluare (job #342790)
|
Borderou de evaluare (job #751109)
Borderou de evaluare (job #751109)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:8:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
8 | fscanf(fin,"%d",n);
| ~^ ~
| | |
| | int
| int *
main.c:11:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
11 | fscanf(fin,"%d",x);
| ~^ ~
| | |
| | int
| int *
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:8:5: warning: 'n' is used uninitialized [-Wuninitialized]
8 | fscanf(fin,"%d",n);
| ^~~~~~~~~~~~~~~~~~
main.c:6:21: note: 'n' was declared here
6 | int a,b,i=0,y=0,n,cx,e=1,x,u;
| ^
main.c:11:5: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized]
11 | fscanf(fin,"%d",x);
| ^~~~~~~~~~~~~~~~~~
main.c:6:30: note: 'x' 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
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
4
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
5
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
6
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
10
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
Punctaj total
|
0
|