Pagini recente »
Borderou de evaluare (job #177656)
|
Borderou de evaluare (job #753589)
Borderou de evaluare (job #753589)
Raport evaluator
Compilare:
main.c: In function 'readInt':
main.c:10:10: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
10 | while(!isdigit(ch=fgetc(fin)));
| ^~~~~~~
main.c:3:1: note: include '<ctype.h>' or provide a declaration of 'isdigit'
2 | #include <stdlib.h>
+++ |+#include <ctype.h>
3 |
main.c: In function 'main':
main.c:38:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf(fin, "%d%d", &n, &key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
10
|
|
2
|
1 ms
|
217 kb
|
Incorect
|
0
|
|
3
|
9 ms
|
356 kb
|
Incorect
|
0
|
|
4
|
19 ms
|
217 kb
|
Incorect
|
0
|
|
5
|
19 ms
|
180 kb
|
Incorect
|
0
|
|
6
|
29 ms
|
258 kb
|
Incorect
|
0
|
|
7
|
39 ms
|
372 kb
|
Incorect
|
0
|
|
8
|
59 ms
|
339 kb
|
Incorect
|
0
|
|
9
|
69 ms
|
356 kb
|
Incorect
|
0
|
|
10
|
77 ms
|
307 kb
|
Incorect
|
0
|
|
Punctaj total
|
10
|