Submission #430555

#TimeUsernameProblemLanguageResultExecution timeMemory
430555OzyCarnival Tickets (IOI20_tickets)C++17
0 / 100
1 ms332 KiB
#include "tickets.h" #include <bits/stdc++.h> using namespace std; #define lli long long int #define rep(i,a,b) for (lli i = (a); i <= (b); i++) #define repa(i,a,b) for (lli i = (a); i >= (b); i--) #define debug(a) cout << #a << " = " << a << endl; #define debugsl(a) cout << #a << " = " << a << ", "; lli n,m; vector< vector<int> > res; long long find_maximum(int k, std::vector<std::vector<int>> x) { n = x.size(); m = x[0].size(); res = vector<vector<int> > (n, vector<int> (m, 0)); allocate_tickets(res); }

Compilation message (stderr)

tickets.cpp: In function 'long long int find_maximum(int, std::vector<std::vector<int> >)':
tickets.cpp:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
   21 | }
      | ^
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...