Pagini recente »
Borderou de evaluare (job #679172)
|
Borderou de evaluare (job #598231)
|
Borderou de evaluare (job #80803)
|
Borderou de evaluare (job #598141)
|
Borderou de evaluare (job #655463)
Borderou de evaluare (job #655463)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:14:13: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
14 | sq= sqrt ( n );
| ^~~~
main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt'
2 | #include <stdlib.h>
+++ |+#include <math.h>
3 |
main.c:14:13: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
14 | sq= sqrt ( n );
| ^~~~
main.c:14:13: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
15 | if(sq*sq==k);
| ^~
main.c:16:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | i=1;
| ^
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
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
|
Incorect
|
0
|
4
|
2 ms
|
114 kb
|
OK
|
10
|
5
|
1 ms
|
114 kb
|
OK
|
10
|
6
|
1 ms
|
114 kb
|
Incorect
|
0
|
7
|
1 ms
|
114 kb
|
OK
|
10
|
8
|
1 ms
|
114 kb
|
OK
|
10
|
9
|
1 ms
|
114 kb
|
Incorect
|
0
|
10
|
1 ms
|
114 kb
|
OK
|
10
|
Punctaj total
|
70
|