Submission #797652

#TimeUsernameProblemLanguageResultExecution timeMemory
797652Joshi503Thousands Islands (IOI22_islands)C++17
0 / 100
2 ms340 KiB
// Source: https://usaco.guide/general/io #include <bits/stdc++.h> using namespace std; struct datos{ bool ok; vector<int> v; }; /* */ struct datos find_journey(int N, int M, vector<int> U, vector<int> V){ if(N == 2){ datos res; res.ok = 0; return res; } }

Compilation message (stderr)

islands.cpp: In function 'datos find_journey(int, int, std::vector<int>, std::vector<int>)':
islands.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
   22 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...