Pagini recente »
Clasament s18_6_tema18
|
Borderou de evaluare (job #49719)
|
Borderou de evaluare (job #253641)
|
Borderou de evaluare (job #716262)
|
Borderou de evaluare (job #617236)
Borderou de evaluare (job #617236)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:39:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
39 | if ( n % 10 == pu )
| ^~
main.c:41:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
41 | nc = nc / 10;
| ^~
main.c:46:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=]
46 | fprintf( fout, "%d", &cf );
| ~^ ~~~
| | |
| int int *
| %n
main.c:6:12: warning: variable 'f' set but not used [-Wunused-but-set-variable]
6 | int n, f, nc, cf, p, pc, p2max, p2, p2maxc, i, pu;
| ^
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf( fin, "%d", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
131 kb
|
Incorect
|
0
|
2
|
1 ms
|
131 kb
|
Incorect
|
0
|
3
|
1 ms
|
131 kb
|
Incorect
|
0
|
4
|
1 ms
|
131 kb
|
Incorect
|
0
|
5
|
1 ms
|
131 kb
|
Incorect
|
0
|
6
|
1 ms
|
131 kb
|
Incorect
|
0
|
7
|
1 ms
|
131 kb
|
Incorect
|
0
|
8
|
1 ms
|
131 kb
|
Incorect
|
0
|
9
|
1 ms
|
131 kb
|
Incorect
|
0
|
10
|
1 ms
|
131 kb
|
Incorect
|
0
|
Punctaj total
|
0
|