记录详情

Compile Error

foo.cc: In function 'void stringZip(const char*, long int, char*)':
foo.cc:9:6: warning: unused variable 'j' [-Wunused-variable]
 char j,m;
      ^
foo.cc:9:8: warning: unused variable 'm' [-Wunused-variable]
 char j,m;
        ^
foo.cc: In function 'int main()':
foo.cc:47:5: error: 'solve' was not declared in this scope
     solve(s,ans);
     ^~~~~
foo.cc:46: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)提供评测服务

信息

递交者
类型
自测
题目
P1041 函数2(字符串1)
语言
C++
递交时间
2021-11-07 10:35:52
评测时间
2021-11-07 10:35:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes