Pagini recente »
Borderou de evaluare (job #57332)
|
Borderou de evaluare (job #708391)
|
Borderou de evaluare (job #266438)
|
Borderou de evaluare (job #185076)
|
Borderou de evaluare (job #825129)
Borderou de evaluare (job #825129)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:17:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
17 | while( ca % 10 == 2 || ca % 10 == 5 || ca % 10 == 0 && c == 0 ) {
| ~~~~~~~~~~~~~^~~~~~~~~
main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | fscanf( fin, "%d\n", &n );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf( fin, "%d\n", &a );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:44:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
44 | fclose( fin );
| ^~~~~~~~~~~~~
main.c:34:5: note: call to 'fclose' here
34 | fclose( fin );
| ^~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
507 kb
|
Incorect
|
0
|
3
|
1 ms
|
266 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
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
OK
|
5
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
10
|