记录详情

Compile Error

foo.cc:39:13: error: stray '\357' in program
   39 |     return 0;//返回差的位数
      |             ^
foo.cc:39:14: error: stray '\274' in program
   39 |     return 0;//返回差的位数
      |              ^
foo.cc:39:15: error: stray '\233' in program
   39 |     return 0;//返回差的位数
      |               ^
foo.cc: In function 'int sub(int*, int*, int, int)':
foo.cc:39:13: error: expected ';' before '}' token
   39 |     return 0;//返回差的位数
      |             ^
      |             ;
   40 | 
   41 | }
      | ~            
foo.cc: In function 'bool judge(std::string)':
foo.cc:78:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   78 |     for(int i=0;i<s.size();i++)
      |                 ~^~~~~~~~~
foo.cc: In function 'std::string div(std::string, std::string, int)':
foo.cc:44:12: warning: control reaches end of non-void function [-Wreturn-type]
   44 |     string s,v;//s存商,v存余数
      |            ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1013 最小公倍数
语言
C++
递交时间
2022-08-03 08:35:52
评测时间
2022-08-03 08:35:52
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes