Borderou de evaluare (job #3260480)

Utilizator StefanPopescu2Popescu Stefan StefanPopescu2 Data 2 decembrie 2024 16:12:03
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:15:10: error: 'n' was not declared in this scope 15 | fin >> n>>m; | ^ main.cpp:15:13: error: 'm' was not declared in this scope; did you mean 'tm'? 15 | fin >> n>>m; | ^ | tm main.cpp:41:5: error: 'cin' was not declared in this scope 41 | cin >> q >> p; | ^~~ main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp:45:13: error: 'log2' was not declared in this scope; did you mean 'log22'? 45 | int k = log2[p]; | ^~~~ | log22 Non zero exit status: 1

Ceva nu functioneaza?