Problem | addition |
---|---|
User | NYGHNZN |
Submission Time | 2023-11-08 17:09:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:10:6: error: conflicting declaration ‘int a’
10 | int a = 10000;
| ^
addition.cpp:6:8: note: previous declaration as ‘short int a’
6 | short a = 4;
| ^
addition.cpp:11:6: error: conflicting declaration ‘int b’
11 | int b = 20000;
| ^
addition.cpp:7:8: note: previous declaration as ‘short int b’
7 | short b = 5;
| ^
addition.cpp:12:6: error: conflicting declaration ‘int c’
12 | int c = a + b;
| ^
addition.cpp:8:8: note: previous declaration as ‘short int c’
8 | short c = a + b;
| ^
addition.cpp:14:12: error: conflicting declaration ‘long long int a’
14 | long long a = 100000000;
| ^
addition.cpp:6:8: note: previous declaration as ‘short int a’
6 | short a = 4;
| ^
addition.cpp:15:12: error: conflicting declaration ‘long long