0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:9: error: 'bits' was not declared in this scope
1 | include<bits/stdc++.h>
| ^~~~
0_0_39780097_18427.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
1 | include<bits/stdc++.h>
| ^~~~
| std
0_0_39780097_18427.cpp:1:1: error: 'include' does not name a type
1 | include<bits/stdc++.h>
| ^~~~~~~
0_0_39780097_18427.cpp: In function 'int main()':
0_0_39780097_18427.cpp:22:12: error: 'scanf' was not declared in this scope
22 | while(~scanf("%d",&n)){
| ^~~~~
0_0_39780097_18427.cpp:23:9: error: 'memset' was not declared in this scope
23 | memset(tree,0,sizeof(tree));
| ^~~~~~
0_0_39780097_18427.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
+++ |+#include <cstring>
1 | include<bits/stdc++.h>
0_0_39780097_18427.cpp:30:21: error: 'printf' was not declared in this scope
30 | if(i!=n)printf("%d",sum(i));
| ^~~~~~
0_0_39780097_18427.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | include<bits/stdc++.h>
0_0_39780097_18427.cpp:31:21: error: 'printf' was not declared in this scope
31 | else printf("%d\n",sum(i));
| ^~~~~~
0_0_39780097_18427.cpp:31:21: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
|