Borderou de evaluare (job #749410)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Div & Mul (clasa a 9-a) | Compilator | cpp-32 |
Rundă | cexgj_9_2 | Status | evaluat |
Dată | 3 dec. 2023 20:42:39 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:12:9: error: 'cin' was not declared in this scope
12 | cin >> v[i];
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include<fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:15:9: error: 'cin' was not declared in this scope
15 | cin >> x[i];
| ^~~
main.cpp:15:9: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?