Pagini recente » Cod sursa (job #359535) | Cod sursa (job #55587) | Cod sursa (job #2583554) | Cod sursa (job #798940) | Borderou de evaluare (job #2426444)
Borderou de evaluare (job #2426444)
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);
^~~
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:55:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %lld\n", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:60: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 | 3ms | 131kb | Incorect | 0 |
| 4 | 5ms | 131kb | Incorect | 0 |
| 5 | 5ms | 131kb | Incorect | 0 |
| 6 | 21ms | 167kb | Incorect | 0 |
| 7 | 51ms | 172kb | Incorect | 0 |
| 8 | 184ms | 131kb | Incorect | 0 |
| 9 | 179ms | 172kb | Incorect | 0 |
| 10 | 186ms | 167kb | Incorect | 0 |
| 11 | 223ms | 176kb | Incorect | 0 |
| 12 | 200ms | 167kb | Incorect | 0 |
| 13 | 213ms | 131kb | Incorect | 0 |
| 14 | 226ms | 172kb | OK | 5 |
| 15 | 167ms | 172kb | OK | 5 |
| 16 | 178ms | 155kb | Incorect | 0 |
| 17 | 195ms | 131kb | OK | 5 |
| 18 | 176ms | 131kb | Incorect | 0 |
| 19 | 172ms | 176kb | Incorect | 0 |
| 20 | 179ms | 167kb | Incorect | 0 |
| Punctaj total | 25 |