QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#34783#4250. Marshyforces#Compile Error//C++203.6kb2022-06-12 07:32:582024-04-28 07:13:26

详细

answer.code:108:5: error: redefinition of ‘int p(int, int, int)’
  108 | int p(int x,int y,int n){
      |     ^
answer.code:89:5: note: ‘int p(int, int, int)’ previously defined here
   89 | int p(int x,int y,int n){
      |     ^
answer.code: In function ‘std::string process(std::vector<std::vector<std::__cxx11::basic_string<char> > >, int, int, int, int)’:
answer.code:125:30: error: too few arguments to function ‘int p(int, int, int)’
  125 |                 arr[a][b]<<=p(i+a,j+b);
      |                             ~^~~~~~~~~
answer.code:89:5: note: declared here
   89 | int p(int x,int y,int n){
      |     ^