Problem | gift |
---|---|
User | tinyqwertyIII |
Submission Time | 2024-03-01 14:37:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gift.cpp: In function ‘int32_t main()’:
gift.cpp:3:19: error: duplicate ‘short’
3 | #define int short short
| ^~~~~
gift.cpp:6:2: note: in expansion of macro ‘int’
6 | int n,k;
| ^~~
gift.cpp:3:19: error: duplicate ‘short’
3 | #define int short short
| ^~~~~
gift.cpp:7:2: note: in expansion of macro ‘int’
7 | int curr,next;
| ^~~
gift.cpp:3:19: error: duplicate ‘short’
3 | #define int short short
| ^~~~~
gift.cpp:8:2: note: in expansion of macro ‘int’
8 | int result = 0;
| ^~~
gift.cpp:3:19: error: duplicate ‘short’
3 | #define int short short
| ^~~~~
gift.cpp:10:6: note: in expansion of macro ‘int’
10 | for(int i = 0; i < n-1; i++){
| ^~~