Problem | addition |
---|---|
User | LYM2025 |
Submission Time | 2025-08-04 16:28:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
addition.cpp: In function ‘int main()’:
addition.cpp:5:6: error: expected unqualified-id before ‘=’ token
5 | int = a,b;
| ^
addition.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> int;
| ^~~
addition.cpp:6:9: error: expected primary-expression before ‘int’
6 | cin >> int;
| ^~~
addition.cpp:7:2: error: ‘c’ was not declared in this scope
7 | c=a+b
| ^
addition.cpp:7:4: error: ‘a’ was not declared in this scope
7 | c=a+b
| ^
addition.cpp:7:6: error: ‘b’ was not declared in this scope
7 | c=a+b
| ^
addition.cpp:8:10: error: expected ‘}’ at end of input
8 | cout << c
| ^
addition.cpp:4:7: note: to match this ‘{’
4 | main(){
| ^