QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#440944#2788. Horseshyforces#Compile Error//C++201.7kb2024-06-14 05:39:512024-06-14 05:39:52

Details

answer.code:38:6: error: ambiguating new declaration of ‘void init(int, int*, int*)’
   38 | void init(int nn,int x[],int y[]){
      |      ^~~~
In file included from answer.code:2:
horses.h:4:5: note: old declaration ‘int init(int, int*, int*)’
    4 | int init(int N, int X[], int Y[]);
      |     ^~~~