Borderou de evaluare (job #3299646)
Utilizator | Data | 8 iunie 2025 19:54:22 | |
---|---|---|---|
Problema | Algoritmul lui Euclid extins | Status | done |
Runda | Arhiva educationala | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:4:1: error: unknown type name 'int64_t'
4 | int64_t exeuclid(int64_t a, int64_t b, int64_t *x, int64_t *y) {
| ^~~~~~~
main.c:3:1: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
2 | #include <stdlib.h>
+++ |+#include <stdint.h>
3 |
main.c:4:18: error: unknown type name 'int64_t'
4 | int64_t exeuclid(int64_t a, int64_t b, int64_t *x, int64_t *y) {
| ^~~~~~~
main.c:4:18: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:4:29: error: unknown type name 'int64_t'
4 | int64_t exeuclid(int64_t a, int64_t b, int64_t *x, int64_t *y) {
| ^~~~~~~
main.c:4:29: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:4:40: error: unknown type name 'int64_t'
4 | int64_t exeuclid(int64_t a, int64_t b, int64_t *x, int64_t *y) {
| ^~~~~~~
main.c:4:40: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:4:52: error: unknown type name 'int64_t'
4 | int64_t exeuclid(int64_t a, int64_t b, int64_t *x, int64_t *y) {
| ^~~~~~~
main.c:4:52: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c: In function 'main':
main.c:18:5: error: unknown type name 'int64_t'
18 | int64_t a, b, c, x, y;
| ^~~~~~~
main.c:18:5: note: 'int64_t' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
main.c:27:27: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'int *' [-Wformat=]
27 | if (fscanf(input, "%lld %lld %lld", &a, &b, &c) != 3) {
| ~~~^ ~~
| | |
| | int *
| long long int *
| %d
main.c:27:32: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'int *' [-Wformat=]
27 | if (fscanf(input, "%lld %lld %lld", &a, &b, &c) != 3) {
| ~~~^ ~~
| | |
| | int *
| long long int *
| %d
main.c:27:37: warning: format '%lld' expects argument of type 'long long int *', but argument 5 has type 'int *' [-Wformat=]
27 | if (fscanf(input, "%lld %lld %lld", &a, &b, &c) != 3) {
| ~~~^ ~~
| | |
| | int *
| long long int *
| %d
main.c:32:5: error: unknown type name 'int64_t'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !