0_0_39880248_4399.cpp:22:2: error: stray '#' in program
22 | }#include<iostream>
| ^
0_0_39880248_4399.cpp:22:3: error: 'include' does not name a type
22 | }#include<iostream>
| ^~~~~~~
0_0_39880248_4399.cpp:26:11: error: redefinition of 'const int len'
26 | const int len = 1e6 + 10;
| ^~~
0_0_39880248_4399.cpp:5:11: note: 'const int len' previously defined here
5 | const int len = 1e6 + 10;
| ^~~
0_0_39880248_4399.cpp:28:5: error: redefinition of 'int n'
28 | int n;
| ^
0_0_39880248_4399.cpp:7:5: note: 'int n' previously declared here
7 | int n;
| ^
0_0_39880248_4399.cpp:29:11: error: redefinition of 'long long int arr [1000010]'
29 | long long arr[len];
| ^~~
0_0_39880248_4399.cpp:8:11: note: 'long long int arr [1000010]' previously declared here
8 | long long arr[len];
| ^~~
0_0_39880248_4399.cpp:30:5: error: redefinition of 'int index'
30 | int index = 0;
| ^~~~~
0_0_39880248_4399.cpp:9:5: note: 'int index' previously defined here
9 | int index = 0;
| ^~~~~
0_0_39880248_4399.cpp:32:11: error: redefinition of 'long long int getres(int)'
32 | long long getres(int n){
| ^~~~~~
0_0_39880248_4399.cpp:11:11: note: 'long long int getres(int)' previously defined here
11 | long long getres(int n){
| ^~~~~~
0_0_39880248_4399.cpp:36:5: error: redefinition of 'int main()'
36 | int main(){
| ^~~~
0_0_39880248_4399.cpp:15:5: note: 'int main()' previously defined here
15 | int main(){
| ^~~~
|