Problem | addition |
---|---|
User | soysauce |
Submission Time | 2024-03-29 11:02:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp:1:2: error: invalid preprocessing directive #iclude; did you mean #include?
1 | #iclude<bits/stdc++.h>
| ^~~~~~
| include
addition.cpp: In function ‘int main()’:
addition.cpp:4:13: error: expected initializer before ‘.’ token
4 | long long x.y;
| ^
addition.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin<<x;
| ^~~
addition.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #iclude<bits/stdc++.h>
addition.cpp:5:7: error: ‘x’ was not declared in this scope
5 | cin<<x;
| ^
addition.cpp:6:7: error: ‘y’ was not declared in this scope
6 | cin<<y;
| ^
addition.cpp:7:2: error: ‘cout’ was not declared in this scope
7 | cout>>x+y;
| ^~~~
addition.cpp:7:2: note: ‘std: