Pagini recente »
Borderou de evaluare (job #742774)
|
Borderou de evaluare (job #511983)
|
Borderou de evaluare (job #774899)
|
Borderou de evaluare (job #419258)
|
Borderou de evaluare (job #784452)
Borderou de evaluare (job #784452)
Raport evaluator
Compilare:
main.c: In function 'readInt':
main.c:18:12: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
18 | while( isspace( ch = readChar() ) );
| ^~~~~~~
main.c:2:1: note: include '<ctype.h>' or provide a declaration of 'isspace'
1 | #include <stdio.h>
+++ |+#include <ctype.h>
2 | #define MAXNR 1000000
main.c:25:12: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration]
25 | while( isdigit( ch = fgetc( fin ) ) );
| ^~~~~~~
main.c:25:12: note: include '<ctype.h>' or provide a declaration of 'isdigit'
main.c: In function 'writeChar':
main.c:31:9: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses]
31 | if( !( wpos = ( wpos + 1 ) ) & ( BUFSIZE - 1 ) )
| ^~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:75:21: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
75 | if( fa[oka] * fb[okb] )
| ~~~~~~~~^~~~~~~~~
main.c: In function 'readChar':
main.c:12:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fread( rbuf , 1 , BUFSIZE , fin );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
249 ms
|
507 kb
|
Incorect
|
0
|
2
|
239 ms
|
270 kb
|
Incorect
|
0
|
3
|
248 ms
|
421 kb
|
OK
|
10
|
4
|
1 ms
|
1298 kb
|
Killed by Signal 11
|
0
|
5
|
249 ms
|
270 kb
|
OK
|
10
|
6
|
1 ms
|
1290 kb
|
Killed by Signal 11
|
0
|
7
|
1 ms
|
1294 kb
|
Killed by Signal 11
|
0
|
8
|
1 ms
|
1298 kb
|
Killed by Signal 11
|
0
|
9
|
1 ms
|
1298 kb
|
Killed by Signal 11
|
0
|
10
|
239 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
20
|