Pagini recente » Borderou de evaluare (job #1541254) | Borderou de evaluare (job #952190) | Borderou de evaluare (job #2840704) | Borderou de evaluare (job #2950321) | Borderou de evaluare (job #2426445)
Borderou de evaluare (job #2426445)
Raport evaluator
Compilare:
main.c: In function 'query':
main.c:28:20: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
double q = pow(x,1.0/i); // radicalul de ordine i
^~~
main.c:28:20: warning: incompatible implicit declaration of built-in function 'pow'
main.c:28:20: note: include '<math.h>' or provide a declaration of 'pow'
main.c:29:33: warning: implicit declaration of function 'floor' [-Wimplicit-function-declaration]
long long q_new = power(floor(q), i);
^~~~~
main.c:29:33: warning: incompatible implicit declaration of built-in function 'floor'
main.c:29:33: note: include '<math.h>' or provide a declaration of 'floor'
main.c: In function 'main':
main.c:60:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %lld\n", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:65:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%lld\n", &x);
^~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 4ms | 131kb | Incorect | 0 |
4 | 4ms | 131kb | Incorect | 0 |
5 | 5ms | 131kb | Incorect | 0 |
6 | 21ms | 167kb | Incorect | 0 |
7 | 48ms | 172kb | Incorect | 0 |
8 | 208ms | 167kb | Incorect | 0 |
9 | 179ms | 299kb | Incorect | 0 |
10 | 210ms | 167kb | Incorect | 0 |
11 | 160ms | 172kb | Incorect | 0 |
12 | 156ms | 172kb | Incorect | 0 |
13 | 148ms | 131kb | Incorect | 0 |
14 | 162ms | 167kb | OK | 5 |
15 | 172ms | 172kb | OK | 5 |
16 | 179ms | 131kb | Incorect | 0 |
17 | 184ms | 131kb | OK | 5 |
18 | 157ms | 167kb | Incorect | 0 |
19 | 208ms | 167kb | Incorect | 0 |
20 | 190ms | 172kb | Incorect | 0 |
Punctaj total | 25 |