Pagini recente »
Borderou de evaluare (job #74936)
|
Borderou de evaluare (job #540189)
|
Borderou de evaluare (job #700078)
Borderou de evaluare (job #700078)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:38:19: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char (*)[25]' [-Wformat=]
38 | fscanf(fin, "%s", &v);
| ~^ ~~
| | |
| | char (*)[25]
| char *
main.c:39:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
39 | n=strlen(v)-1;
| ^~~~~~
main.c:3:1: note: include '<string.h>' or provide a declaration of 'strlen'
2 | #include <stdlib.h>
+++ |+#include <string.h>
3 | FILE *fin, *fout;
main.c:39:7: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
39 | n=strlen(v)-1;
| ^~~~~~
main.c:39:7: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:38:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf(fin, "%s", &v);
| ^~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
9 ms
|
241 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
7
|
1 ms
|
245 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
OK
|
10
|
9
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
10
|
109 ms
|
249 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
70
|