Pagini recente »
Borderou de evaluare (job #28347)
|
Borderou de evaluare (job #529833)
|
Borderou de evaluare (job #488250)
|
Borderou de evaluare (job #307023)
|
Borderou de evaluare (job #806403)
Borderou de evaluare (job #806403)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:25:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=]
25 | fprintf(fout ,"%d ",&x);
| ~^ ~~
| | |
| int int *
| %n
main.c:9:24: warning: variable 'ss' set but not used [-Wunused-but-set-variable]
9 | int n,i,j,x,s,xx,r,ss;
| ^~
main.c:20:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin ,"%d",&n);
| ^~~~~~~~~~~~~~~~~~~~
main.c:24:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(fin ,"%d",&x);
| ^~~~~~~~~~~~~~~~~~~~
main.c:13:16: warning: iteration 65533 invokes undefined behavior [-Waggressive-loop-optimizations]
13 | if(ciur[i]==0)
| ~~~~^~~
main.c:11:15: note: within this loop
11 | for(i=2; i<=PMAX; i++)
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
266 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|