QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#493037#6515. Path PlanningCirnoCompile Error//C++141.5kb2024-07-26 18:50:542024-07-26 18:50:55

Details

answer.code:26:2: error: stray ‘#’ in program
   26 | }#include<bits/stdc++.h>
      |  ^
answer.code:26:3: error: ‘include’ does not name a type
   26 | }#include<bits/stdc++.h>
      |   ^~~~~~~
answer.code:28:6: error: redefinition of ‘void solve()’
   28 | void solve(){ int n,m;cin>>n>>m;
      |      ^~~~~
answer.code:3:6: note: ‘void solve()’ previously defined here
    3 | void solve(){ int n,m;cin>>n>>m;
      |      ^~~~~
answer.code:48:5: error: redefinition of ‘int main()’
   48 | int main(){
      |     ^~~~
answer.code:23:5: note: ‘int main()’ previously defined here
   23 | int main(){
      |     ^~~~