记录详情

Wrong Answer

/in/foo.cc: In static member function 'static void Complex::Sort(std::vector<Complex>*)':
/in/foo.cc:101:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i<ptr_vtInstance->size(); i++)
               ~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (j = 0; j < ptr_vtComplex->size(); j++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:117:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (j == ptr_vtComplex->size())
         ~~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:122:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i<ptr_vtComplex->size(); i++)
               ~^~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In static member function 'static void Complex::VectorDisplay(std::vector<Complex>*)':
/in/foo.cc:159:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < ptr_vtInstance->size(); i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 336.0 KiB
#5 Wrong Answer 1ms 340.0 KiB

信息

递交者
类型
递交
题目
P1013 OO2-3 复数数组类的冒泡排序
语言
C++
递交时间
2023-10-05 00:57:38
评测时间
2023-10-05 00:57:38
评测机
分数
80
总耗时
7ms
峰值内存
360.0 KiB