Problem colour
User personjs
Submission Time 2025-01-07 10:21:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colour.cpp:9:13: error: stray ‘#’ in program
9 | int main() {#include <bits/stdc++.h>
| ^
colour.cpp: In function ‘int main()’:
colour.cpp:9:14: error: ‘include’ was not declared in this scope
9 | int main() {#include <bits/stdc++.h>
| ^~~~~~~
colour.cpp:9:23: error: ‘bits’ was not declared in this scope
9 | int main() {#include <bits/stdc++.h>
| ^~~~
colour.cpp:9:28: error: ‘stdc’ was not declared in this scope; did you mean ‘std’?
9 | int main() {#include <bits/stdc++.h>
| ^~~~
| std
colour.cpp:13:1: error: expected primary-expression before ‘using’
13 | using namespace std;
| ^~~~~
colour.cpp:17:12: error: a function-definition is not allowed here before ‘{’ token
17 | int main() {
| ^
colour.cpp:40:1: error: expected ‘}’ at en