Borderou de evaluare (job #2722728)

Utilizator DMR6476Erdic Dragos DMR6476 Data 13 martie 2021 11:33:21
Problema Ausoara 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:11:5: error: 'cin' was not declared in this scope cin>>n; ^~~ main.cpp:23:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=0;i<1000000;i++) ^~~ main.cpp:26:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' cout<<ans<<" "; ^~~~ main.cpp:26:9: error: 'cout' was not declared in this scope Non zero exit status: 1

Ceva nu functioneaza?