Borderou de evaluare (job #838686)

Utilizator avatar Cezar2009 Titihazan Cezar Cezar2009 IP ascuns
Problemă MaxXor (clasele 10-12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 25 oct. 2025 18:11:27 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:36:1: error: 'uint64_t' does not name a type 36 | uint64_t v[NRMAX + 5]; | ^~~~~~~~ main.cpp:25:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' 24 | #include <climits> +++ |+#include <cstdint> 25 | //#include <iomanip> main.cpp:47:23: error: 'uint64_t' has not been declared 47 | void insert(Nod* nod, uint64_t x, int ind) | ^~~~~~~~ main.cpp: In function 'void insert(Nod*, int, int)': main.cpp:51:27: error: 'uint64_t' was not declared in this scope 51 | int nr = (uint64_t)(x >> i) & 1; | ^~~~~~~~ main.cpp:51:27: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' main.cpp: At global scope: main.cpp:59:25: error: 'uint64_t' has not been declared 59 | int rezolvare(Nod* nod, uint64_t x) | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:89:17: error: 'v' was not declared in this scope 89 | v[i] = ix; | ^