/ Vijos /

记录详情

Accepted

/in/foo.cc: In member function 'BigInt& BigInt::operator=(const BigInt&)':
/in/foo.cc:15:65: warning: no return statement in function returning non-void [-Wreturn-type]
     BigInt& operator = (const BigInt &other) { num = other.num; } 
                                                                 ^
/in/foo.cc: In member function 'BigInt BigInt::operator+(const BigInt&) const':
/in/foo.cc:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s1.length(); i++) a[i] = s1[s1.length() - 1 - i] - '0'; 
                         ~~^~~~~~~~~~~~~
/in/foo.cc:30:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s2.length(); i++) b[i] = s2[s2.length() - 1 - i] - '0'; 
                         ~~^~~~~~~~~~~~~
/in/foo.cc:32:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s1.length(); i++) { 
                         ~~^~~~~~~~~~~~~
/in/foo.cc:33:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < s2.length()) 
                 ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 15ms 19.148 MiB
#2 Accepted 16ms 19.25 MiB
#3 Accepted 16ms 19.25 MiB
#4 Accepted 23ms 19.25 MiB
#5 Accepted 19ms 19.199 MiB
#6 Accepted 31ms 19.375 MiB
#7 Accepted 48ms 19.625 MiB
#8 Accepted 150ms 21.375 MiB
#9 Accepted 178ms 22.453 MiB
#10 Accepted 11ms 19.25 MiB

信息

递交者
类型
递交
题目
P1378 矩阵取数游戏
语言
C++
递交时间
2017-08-10 17:25:44
评测时间
2017-08-10 17:25:44
评测机
分数
100
总耗时
511ms
峰值内存
22.453 MiB