QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#661573#5460. Sum of Numbersucup-team2540#Compile Error//C++206.5kb2024-10-20 16:54:322024-10-20 16:54:33

详细

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) {
      |                      ^~~