记录详情

Wrong Answer

/in/foo.cc: In static member function 'static void Complex::Sort(std::vector<Complex>*)':
/in/foo.cc:100:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i<ptr_vtInstance->size(); i++)
               ~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:107:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (j = 0; j < ptr_vtComplex->size(); j++)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:116:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (j == ptr_vtComplex->size())
         ~~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:121: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:157:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 0; i < ptr_vtInstance->size(); i++)
               ~~^~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 912.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 1ms 360.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Wrong Answer 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1013 OO2-3 复数数组类的冒泡排序
语言
C++
递交时间
2023-10-03 06:20:45
评测时间
2023-10-03 06:20:45
评测机
分数
80
总耗时
9ms
峰值内存
912.0 KiB