Problem addition
User Um
Submission Time 2023-04-28 18:48:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:1:2: error: invalid preprocessing directive #includ; did you mean #include?
1 | #includ<bits/stdc++.h>
| ^~~~~~
| include
addition.cpp: In function ‘int main()’:
addition.cpp:8:2: error: ‘cin’ was not declared in this scope
8 | cin>>a>>b;
| ^~~
addition.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #includ<bits/stdc++.h>
addition.cpp:9:3: error: ‘cout’ was not declared in this scope
9 | cout<<a+b;
| ^~~~
addition.cpp:9:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
addition.cpp:10:11: error: expected ‘;’ before ‘}’ token
10 | return 0
| ^
| ;
11 | }
| ~