| Problem | pigeonhole |
|---|---|
| User | nishith13shah |
| Submission Time | 2025-12-05 09:11:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
pigeonhole.cpp: In function ‘int main()’:
pigeonhole.cpp:31:42: error: expected primary-expression before ‘if’
31 | if (holes[hole] + if (holes[hole] + 1 == maxInHole) {
| ^~
pigeonhole.cpp:31:30: error: expected ‘)’ before ‘if’
31 | if (holes[hole] + if (holes[hole] + 1 == maxInHole) {
| ~ ^ ~~
| )
pigeonhole.cpp:37:9: error: expected primary-expression before ‘}’ token
37 | }
| ^
pigeonhole.cpp:42:13: error: expected ‘}’ at end of input
42 | return 0;
| ^
pigeonhole.cpp:7:12: note: to match this ‘{’
7 | int main() {
| ^