Pagini recente »
Borderou de evaluare (job #646371)
Borderou de evaluare (job #646371)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:19:26: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
19 | for(int ia = 0; ia < strlen(a); ia++) {
| ^~~~~~
main.c:3:1: note: include '<string.h>' or provide a declaration of 'strlen'
2 | #include <stdlib.h>
+++ |+#include <string.h>
3 |
main.c:19:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
19 | for(int ia = 0; ia < strlen(a); ia++) {
| ^~~~~~
main.c:19:26: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:24:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
24 | for(int ib = 0; ib < strlen(b); ib++) {
| ^~~~~~
main.c:24:26: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(pIn, "%s", a);
| ^~~~~~~~~~~~~~~~~~~~
main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(pIn, "%s", b);
| ^~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
114 kb
|
OK
|
10
|
2
|
1 ms
|
114 kb
|
OK
|
10
|
3
|
1 ms
|
114 kb
|
OK
|
10
|
4
|
1 ms
|
114 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
OK
|
10
|
7
|
1 ms
|
114 kb
|
OK
|
10
|
8
|
1 ms
|
114 kb
|
OK
|
10
|
9
|
1 ms
|
114 kb
|
OK
|
10
|
10
|
1 ms
|
114 kb
|
OK
|
10
|
Punctaj total
|
100
|