QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#255512#7750. Revenge on My Bossucup-team2006#Compile Error//C++171.9kb2023-11-18 16:10:082023-11-18 16:10:08

详细

answer.code:26:21: error: ‘long long int div(long long int, long long int)’ conflicts with a previous declaration
   26 | int div(int a, int b) { // floored division
      |                     ^
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:47,
                 from answer.code:1:
/usr/include/c++/11/cstdlib:213:3: note: previous declaration ‘lldiv_t __gnu_cxx::div(long long int, long long int)’
  213 |   div(long long __n, long long __d)
      |   ^~~