记录详情

Runtime Error

foo.cc: In function 'void Output(std::vector<int>&)':
foo.cc:7:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    7 |  for(int i=0;i<v.size();i++)
      |              ~^~~~~~~~~
foo.cc: In function 'int Search(std::vector<int>&, int)':
foo.cc:13:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |  for(int i=0;i<v.size();i++)
      |              ~^~~~~~~~~
foo.cc: In function 'int Div(int, int)':
foo.cc:61:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   61 |   for(int i=flag-1;i<q.size();i++)
      |                    ~^~~~~~~~~
foo.cc:32:14: warning: control reaches end of non-void function [-Wreturn-type]
   32 |  vector<int> r,q;
      |              ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Aborted 5ms 384.0 KiB
#2 Runtime Error Aborted 5ms 384.0 KiB
#3 Runtime Error Aborted 4ms 384.0 KiB
#4 Runtime Error Aborted 4ms 384.0 KiB
#5 Runtime Error Aborted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
A11-5 小数的循环节
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 19:16:37
评测时间
2022-08-07 19:16:37
评测机
分数
0
总耗时
22ms
峰值内存
384.0 KiB