0_0_21009153_11961.cpp:1:100: error: stray '#' in program
<pre code_snippet_id="2058090" snippet_file_name="blog_20161218_1_820272" name="code" class="cpp">#include<bits/stdc++.h>
^
0_0_21009153_11961.cpp:1:1: error: expected unqualified-id before '<' token
<pre code_snippet_id="2058090" snippet_file_name="blog_20161218_1_820272" name="code" class="cpp">#include<bits/stdc++.h>
^
0_0_21009153_11961.cpp: In function 'int main()':
0_0_21009153_11961.cpp:22:18: error: 'scanf' was not declared in this scope
scanf("%d",&T);
^
0_0_21009153_11961.cpp:25:32: error: 'memset' was not declared in this scope
memset(ft,-1,sizeof(ft));
^
0_0_21009153_11961.cpp:37:71: error: 'printf' was not declared in this scope
if(x==2) printf("%d\n",sum(z)-sum(y-1)+(int)(a[y]==a[y-1]));
^
0_0_21009153_11961.cpp:41:45: error: 'swap' was not declared in this scope
if(g[f[y]]>g[f[z]]) swap(y,z);//将颜色少的改成颜色多的。
^
|