Problem simp
User Dantheman
Submission Time 2024-11-22 18:59:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simp.cpp: In function ‘int main()’:
simp.cpp:10:11: error: ‘cin’ is not a member of ‘std’
10 | std:: cin >> dimensions ;
| ^~~
simp.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main()
simp.cpp:11:10: error: ‘cin’ is not a member of ‘std’
11 | std::cin >> a1;
| ^~~
simp.cpp:11:10: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
simp.cpp:12:10: error: ‘cin’ is not a member of ‘std’
12 | std::cin >> a2;
| ^~~
simp.cpp:12:10: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
simp.cpp:13:10: error: ‘cin’ is not a member of ‘std’
13 | std::cin >> b1;
| ^~~
simp.cpp:13:10: note: ‘std::cin’ is defined in he