/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void helper_normal(std::vector<int>&, std::pair<int, int>&, int)':
/in/foo.cc:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     } else if (idx == nums.size() - 1) {
                ~~~~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string get_conn(std::__cxx11::string)':
/in/foo.cc:61:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<res.size();i++) {
                 ~^~~~~~~~~~~
/in/foo.cc:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } else if(i==res.size()-1) {
                   ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string get_normal(std::__cxx11::string)':
/in/foo.cc:79:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=1;i<s.size();i++) {
                 ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 352.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Wrong Answer 1ms 332.0 KiB
#5 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2024-11-01 13:58:17
评测时间
2024-11-01 13:58:17
评测机
分数
80
总耗时
7ms
峰值内存
376.0 KiB