Borderou de evaluare (job #3202013)

Utilizator ALEXANDRUspargoaseAlexandru Joita ALEXANDRUspargoase Data 10 februarie 2024 12:49:17
Problema Arie 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:38:5: error: 'cin' was not declared in this scope 38 | cin>>n; | ^~~ main.cpp:4:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 3 | #include <cmath> +++ |+#include <iostream> 4 | main.cpp:43:5: error: 'cout' was not declared in this scope 43 | cout<<abs(aria(n, v)) / 2; | ^~~~ main.cpp:43:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? main.cpp: In function 'char* parse(char*, char*)': main.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type] 24 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?