Problem addition
User yeetmaster
Submission Time 2023-10-26 22:40:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:1:6: error: ‘cin’ in namespace ‘std’ does not name a type
1 | std::cin >> a;
| ^~~
addition.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | std::cin >> a;
addition.cpp:2:6: error: ‘cin’ in namespace ‘std’ does not name a type
2 | std::cin >> b;
| ^~~
addition.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | std::cin >> b;
| ^~~