Pagini recente »
Borderou de evaluare (job #371052)
|
Borderou de evaluare (job #66038)
|
Borderou de evaluare (job #85346)
|
Borderou de evaluare (job #656346)
|
Borderou de evaluare (job #667140)
Borderou de evaluare (job #667140)
Raport evaluator
Compilare:
main.c: In function 'readInt':
main.c:32:11: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
32 | while(isspace(ch=readChar()));
| ^~~~~~~
main.c:3:1: note: include '<ctype.h>' or provide a declaration of 'isspace'
2 | #include <stdlib.h>
+++ |+#include <ctype.h>
3 |
main.c:40:11: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
40 | while(isdigit(ch=readChar()));
| ^~~~~~~
main.c:40:11: note: include '<ctype.h>' or provide a declaration of 'isdigit'
main.c: In function 'main':
main.c:99:12: warning: unused variable 'j' [-Wunused-variable]
99 | int i, j, si, ci, fi, cf, x;
| ^
main.c: In function 'readChar':
main.c:24:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fread(rbuf, 1, BUFSIZE, fin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:139:5: warning: 'fi' may be used uninitialized in this function [-Wmaybe-uninitialized]
139 | writeInt(fi+1);
| ^~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
Incorect
|
0
|
2
|
1 ms
|
114 kb
|
OK
|
5
|
3
|
1 ms
|
114 kb
|
Incorect
|
0
|
4
|
1 ms
|
114 kb
|
OK
|
5
|
5
|
1 ms
|
114 kb
|
Incorect
|
0
|
6
|
1 ms
|
241 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
249 kb
|
OK
|
5
|
9
|
1 ms
|
249 kb
|
OK
|
5
|
10
|
12 ms
|
245 kb
|
OK
|
5
|
11
|
21 ms
|
245 kb
|
Incorect
|
0
|
12
|
35 ms
|
249 kb
|
Incorect
|
0
|
13
|
52 ms
|
249 kb
|
OK
|
5
|
14
|
62 ms
|
249 kb
|
OK
|
5
|
15
|
320 ms
|
245 kb
|
OK
|
5
|
16
|
342 ms
|
249 kb
|
OK
|
5
|
17
|
338 ms
|
245 kb
|
OK
|
5
|
18
|
368 ms
|
249 kb
|
OK
|
5
|
19
|
381 ms
|
249 kb
|
OK
|
5
|
20
|
360 ms
|
241 kb
|
OK
|
5
|
Punctaj total
|
65
|