http://rnd-oj.huawei.com/exam/HomePage
1) OJ 中需要定义buf为staitc类型,才能用于返回, 在本地CLION工具中无此问题
2) 在OJ中允许直接修改 char *s ="const string" 这样的常量字符串的值,但是在CLION工具中不允许,调试报段错误
http://rnd-oj.huawei.com/exam/HomePage
1) OJ 中需要定义buf为staitc类型,才能用于返回, 在本地CLION工具中无此问题
2) 在OJ中允许直接修改 char *s ="const string" 这样的常量字符串的值,但是在CLION工具中不允许,调试报段错误