foo.cc:1:1: error: stray '\346' in program
模板
^
foo.cc:1:2: error: stray '\250' in program
模板
^
foo.cc:1:3: error: stray '\241' in program
模板
^
foo.cc:1:4: error: stray '\346' in program
模板
^
foo.cc:1:5: error: stray '\235' in program
模板
^
foo.cc:1:6: error: stray '\277' in program
模板
^
foo.cc: In function 'void solve(char*, char*)':
foo.cc:7:13: error: 'strlen' was not declared in this scope
int len=strlen(s);
^~~~~~
foo.cc:7:13: note: suggested alternative: 'mbrlen'
int len=strlen(s);
^~~~~~
mbrlen
foo.cc: In function 'int main()':
foo.cc:32: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)提供评测服务