Problem | dayum |
---|---|
User | god |
Submission Time | 2025-06-20 12:40:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
dayum.cpp: In function ‘int main()’:
dayum.cpp:4:13: error: expected primary-expression before ‘long’
4 | #define int long long
| ^~~~
dayum.cpp:14:6: note: in expansion of macro ‘int’
14 | if((int(day) - 15) <= 5 && (int(day) - 15) >= 1) {
| ^~~
dayum.cpp:14:6: error: expected ‘)’ before ‘long’
14 | if((int(day) - 15) <= 5 && (int(day) - 15) >= 1) {
| ~^
| )
dayum.cpp:16:3: error: expected ‘)’ before ‘else’
16 | } else {
| ^~~~~
| )
dayum.cpp:14:4: note: to match this ‘(’
14 | if((int(day) - 15) <= 5 && (int(day) - 15) >= 1) {
| ^