/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:13:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |                         for(int i=1;i<s.length()-1;i++){
      |                                     ~^~~~~~~~~~~~~
foo.cc:28:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |                         for(int i=0;i<s.length();i++){
      |                                     ~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 324.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Runtime Error Floating point exception 2ms 328.0 KiB
#4 Wrong Answer Read 0, expect 1. 2ms 284.0 KiB
#5 Runtime Error Floating point exception 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2023-05-26 17:17:36
评测时间
2023-05-26 17:17:36
评测机
分数
40
总耗时
12ms
峰值内存
328.0 KiB