0_0_17334289_18847.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17334289_18847.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17334289_18847.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_17334289_18847.cpp: In function 'int pow(int, int)':
0_0_17334289_18847.cpp:12:2: error: expected ';' before '{' token
{
^
0_0_17334289_18847.cpp:12:2: error: expected primary-expression before '{' token
0_0_17334289_18847.cpp:12:2: error: expected ')' before '{' token
0_0_17334289_18847.cpp: In function 'int main()':
0_0_17334289_18847.cpp:38:28: error: 'scanf' was not declared in this scope
while(~scanf("%d%s",&tar,s),tar||strcmp(s,"END"))
^
0_0_17334289_18847.cpp:38:49: error: 'strcmp' was not declared in this scope
while(~scanf("%d%s",&tar,s),tar||strcmp(s,"END"))
^
0_0_17334289_18847.cpp:40:15: error: 'strlen' was not declared in this scope
len=strlen(s);
^
0_0_17334289_18847.cpp:41:15: error: 'sort' was not declared in this scope
sort(s,s+len);
^
0_0_17334289_18847.cpp:42:31: error: 'memset' was not declared in this scope
memset(visit,0,sizeof(visit));
^
0_0_17334289_18847.cpp:46:4: error: expected ';' before '{' token
{
^
0_0_17334289_18847.cpp:46:4: error: expected primary-expression before '{' token
0_0_17334289_18847.cpp:46:4: error: expected ')' before '{' token
0_0_17334289_18847.cpp:47:27: error: 'printf' was not declared in this scope
printf("%c",a[i]+'A'-1);//���ַ���ת������
^
0_0_17334289_18847.cpp:49:11: error: 'puts' was not declared in this scope
puts("");
^
0_0_17334289_18847.cpp:52:25: error: 'printf' was not declared in this scope
printf("no solution\n");
^
|