Borderou de evaluare (job #3132792)
Utilizator | Data | 23 mai 2023 21:42:36 | |
---|---|---|---|
Problema | Al k-lea termen Fibonacci | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:7:10: error: unknown type name 'uint64_t'
7 | void eql(uint64_t dst[2][2],uint64_t src[2][2]){
| ^~~~~~~~
main.c:4:1: note: 'uint64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
3 | #include <string.h>
+++ |+#include <stdint.h>
4 |
main.c:7:29: error: unknown type name 'uint64_t'
7 | void eql(uint64_t dst[2][2],uint64_t src[2][2]){
| ^~~~~~~~
main.c:7:29: note: 'uint64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:11:1: error: unknown type name 'uint64_t'
11 | uint64_t fibo(int x){
| ^~~~~~~~
main.c:11:1: note: 'uint64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c: In function 'fibo':
main.c:12:5: error: unknown type name 'uint64_t'
12 | uint64_t A[2][2],B[2][2],C[2][2];
| ^~~~~~~~
main.c:12:5: note: 'uint64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:22:13: warning: implicit declaration of function 'eql' [-Wimplicit-function-declaration]
22 | eql(B,C);
| ^~~
main.c: In function 'main':
main.c:40:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'int' [-Wformat=]
40 | printf("%llu\n",fibo(n));
| ~~~^ ~~~~~~~
| | |
| | int
| long long unsigned int
| %u
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !