Pagini recente »
Borderou de evaluare (job #92742)
|
Borderou de evaluare (job #287666)
|
Borderou de evaluare (job #330678)
|
Borderou de evaluare (job #790941)
Borderou de evaluare (job #790941)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:17:5: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
17 | r=sqrt(n);
| ^~~~
main.c:4:1: note: include '<math.h>' or provide a declaration of 'sqrt'
3 | #include <stdlib.h>
+++ |+#include <math.h>
4 |
main.c:17:5: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
17 | r=sqrt(n);
| ^~~~
main.c:17:5: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c:25:11: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
25 | fprintf("%d ",k);
| ^~~~~
| |
| char *
In file included from /usr/include/stdio.h:980,
from main.c:2:
/usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:25:17: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
25 | fprintf("%d ",k);
| ^
| |
| int
/usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:30:11: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
30 | fprintf("%d ", nrp);
| ^~~~~
| |
| char *
/usr/include/bits/stdio2.h:77:27: note: expected 'FILE * restrict' but argument is of type 'char *'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:30:18: warning: passing argument 2 of 'fprintf' makes pointer from integer without a cast [-Wint-conversion]
30 | fprintf("%d ", nrp);
| ^~~
| |
| int
/usr/include/bits/stdio2.h:77:60: note: expected 'const char * restrict' but argument is of type 'int'
77 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:35:13: warning: passing argument 1 of 'fprintf' from incompatible pointer type [-Wincompatible-pointer-types]
35 | fprintf("%d\n", i);
| ^~~~~~
| |
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
507 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
5
|
1 ms
|
245 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
0
|