Borderou de evaluare (job #2509409)

Utilizator popescuadrianpopescuadrian popescuadrian Data 14 decembrie 2019 10:52:57
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:190:1: warning: "/*" within comment [-Wcomment] /*const char* const KeyNames[] = main.cpp:1094:3: error: stray '#' in program / #define _GLIBCXX_DEBUG ^ main.cpp: In function 'bool getbit(int)': main.cpp:19:31: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] return (c[i1] & (1 << r1) != 0); ~~~~~~~~~~^~~~ main.cpp: At global scope: main.cpp:488:46: error: 'ImVec2' does not name a type bool hotkey(const char* label, int* k, const ImVec2& size_arg = ImVec2(0.f, 0.f)) ^~~~~~ main.cpp:488:80: error: 'ImVec2' was not declared in this scope bool hotkey(const char* label, int* k, const ImVec2& size_arg = ImVec2(0.f, 0.f)) ^ main.cpp: In function 'bool hotkey(const char*, int*, const int&)': main.cpp:490:2: error: 'ImGuiWindow' was not declared in this scope ImGuiWindow* window = ImGui::GetCurrentWindow(); ^~~~~~~~~~~ main.cpp:490:15: error: 'window' was not declared in this scope ImGuiWindow* window = ImGui::GetCurrentWindow(); ^~~~~~ main.cpp:490:24: error: 'ImGui' has not been declared ImGuiWindow* window = ImGui::GetCurrentWindow(); ^~~~~ main.cpp:494:2: error: 'ImGuiContext' was not declared in this scope ImGuiContext& g = *GImGui; ^~~~~~~~~~~~ main.cpp:494:16: error: 'g' was not declared in this scope ImGuiContext& g = *GImGui; ^ main.cpp:494:21: error: 'GImGui' was not declared in this scope ImGuiContext& g = *GImGui; ^~~~~~ main.cpp:495:2: error: 'ImGuiIO' was not declared in this scope ImGuiIO& io = g.IO; ^~~~~~~ main.cpp:495:11: error: 'io' was not declared in this scope ImGuiIO& io = g.IO; ^~ main.cpp:496:8: error: 'ImGuiStyle' does not name a type const ImGuiStyle& style = g.Style; ^~~~~~~~~~ main.cpp:498:8: error: 'ImGuiID' does not name a type const ImGuiID id = window->GetID(label); ^~~~~~~ main.cpp:499:8: error: 'ImVec2' does not name a type const ImVec2 label_size = ImGui::CalcTextSize(label, NULL, true); Non zero exit status: 1

Ceva nu functioneaza?