| Problem | democracy |
|---|---|
| User | lucaleeeeee |
| Submission Time | 2026-05-18 16:26:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
democracy.cpp: In function βint main()β:
democracy.cpp:17:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | if (array[x] == "5") {
| ^~~
democracy.cpp:19:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 | } else if(array[x] == "6") {
| ^~~
democracy.cpp:34:10: error: expected β;β before string constant
34 | cout "6";
| ^~~~
| ;