Borderou de evaluare (job #806686)

Utilizator avatar HezovIT Pahonie George Alessio HezovIT IP ascuns
Problemă Die Hard Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 26 ian. 2025 17:47:31 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: 'ifstream' does not name a type 4 | ifstream cin("diehard.in") | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:13:5: error: 'cin' was not declared in this scope 13 | cin >> n >> m; | ^~~ main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>' 3 | #include <algorithm> +++ |+#include <iostream> 4 | ifstream cin("diehard.in") main.cpp:91:5: error: 'cout' was not declared in this scope 91 | cout << sol << '\n' << linieStart << ' ' << traseu; | ^~~~ main.cpp:91:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'