Pagini recente »
Borderou de evaluare (job #359035)
|
Borderou de evaluare (job #288063)
|
Clasament 2018-02-22-clasa-5-tema-28
|
Clasament 2024_11_20_clasa_9-tema_11
|
Borderou de evaluare (job #779928)
Borderou de evaluare (job #779928)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
33 | while(p10<=i)
| ^~~~~
main.c:35:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
35 | p10=p10/10;
| ^~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf(fin,"%d", &n);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:48:5:
/usr/include/bits/stdio2.h:79:10: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:6:21: note: 'p' was declared here
6 | int cftot,p10,i,p,u,n,ci,lim,nrcf1,nrcf2,cf,j;
| ^
In function 'fprintf',
inlined from 'main' at main.c:48:5:
/usr/include/bits/stdio2.h:79:10: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:6:23: note: 'u' was declared here
6 | int cftot,p10,i,p,u,n,ci,lim,nrcf1,nrcf2,cf,j;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
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
|
OK
|
10
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
Punctaj total
|
50
|