foo.cc:19:9: error: stray '\357' in program
*p=NULL;
^
foo.cc:19:10: error: stray '\274' in program
*p=NULL;
^
foo.cc:19:11: error: stray '\233' in program
*p=NULL;
^
foo.cc: In function 'void solve(char*, char*)':
foo.cc:19:5: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
*p=NULL;
^~~~
foo.cc:22:1: error: expected ';' before '}' token
}
^
foo.cc: In function 'int main()':
foo.cc:27:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s); //s为要处理的加密字符串,答案储存在ans里
~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务