QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#661573#5460. Sum of Numbersucup-team2540#Compile Error//C++206.5kb2024-10-20 16:54:322024-10-20 16:54:33

Details

answer.code: In function ‘std::ostream& operator<<(std::ostream&, const BigInt&)’:
answer.code:6:13: error: expected primary-expression before ‘long’
    6 | #define int long long
      |             ^~~~
answer.code:66:22: note: in expansion of macro ‘int’
   66 |         for (int i = int(b.number.size()) - 2; i >= 0; --i) {
      |                      ^~~