Borderou de evaluare (job #3136312)

Utilizator DonchoBonbonchoAndon Tepavicharov DonchoBonboncho Data 5 iunie 2023 21:50:33
Problema Karb 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:29:5: error: 'ios_base' has not been declared 29 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); | ^~~~~~~~ main.cpp:29:39: error: 'cin' was not declared in this scope; did you mean 'std::cin'? 29 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); | ^~~ | std::cin In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/stdc++.h:75, from main.cpp:1: /usr/include/c++/12.2.1/iostream:60:18: note: 'std::cin' declared here 60 | extern istream cin; /// Linked to standard input | ^~~ main.cpp:29:54: error: 'cout' was not declared in this scope; did you mean 'std::cout'? 29 | ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); | ^~~~ | std::cout /usr/include/c++/12.2.1/iostream:61:18: note: 'std::cout' declared here 61 | extern ostream cout; /// Linked to standard output | ^~~~ Non zero exit status: 1

Ceva nu functioneaza?