Pagini recente »
Borderou de evaluare (job #756705)
Borderou de evaluare (job #756705)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:18:31: warning: implicit declaration of function 'cmmmc' [-Wimplicit-function-declaration]
18 | fprintf(fout, "%d", l/cmmmc(c,f) );
| ^~~~~
main.c:24:22: warning: implicit declaration of function 'areDivizorMaiMicDecatK' [-Wimplicit-function-declaration]
24 | found = !areDivizorMaiMicDecatK(i, k);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c: In function 'areDivizorMaiMicDecatK':
main.c:37:25: warning: implicit declaration of function 'sqrt' [-Wimplicit-function-declaration]
37 | for (j=2;j<=k && j<=sqrt(n);j++){
| ^~~~
main.c:3:1: note: include '<math.h>' or provide a declaration of 'sqrt'
2 | #include <stdlib.h>
+++ |+#include <math.h>
3 |
main.c:37:25: warning: incompatible implicit declaration of built-in function 'sqrt' [-Wbuiltin-declaration-mismatch]
37 | for (j=2;j<=k && j<=sqrt(n);j++){
| ^~~~
main.c:37:25: note: include '<math.h>' or provide a declaration of 'sqrt'
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d", &t);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin, "%d%d%d", &l, &c,&f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin, "%d%d%d", &l, &c,&f);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:22:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | fscanf(fin, "%d%d", &l, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
241 kb
|
OK
|
4
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
3
|
1 ms
|
245 kb
|
OK
|
4
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
6
|
1 ms
|
245 kb
|
OK
|
4
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
8
|
1 ms
|
245 kb
|
OK
|
4
|
9
|
1 ms
|
245 kb
|
OK
|
4
|
10
|
1 ms
|
245 kb
|
OK
|
4
|
11
|
1 ms
|
241 kb
|
OK
|
4
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
OK
|
4
|
14
|
1 ms
|
245 kb
|
OK
|
4
|
15
|
1 ms
|
249 kb
|
OK
|
4
|
16
|
1 ms
|
249 kb
|
OK
|
4
|
17
|
1 ms
|
249 kb
|
OK
|
4
|
18
|
1 ms
|
249 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
21
|
1 ms
|
245 kb
|
Incorect
|
0
|
22
|
1 ms
|
249 kb
|
Incorect
|
0
|
23
|
1 ms
|
249 kb
|
Incorect
|
0
|
24
|
1 ms
|
249 kb
|
Incorect
|
0
|
25
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
64
|