This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
vector<vector<int> > res(501);
vector<vector<int> > devise_strategy(int n)
{
for (int i=0;i<=500;i++)
for (int j=1;j<=n;j++)
{
if (i==0)
res[i].push_back(j);
else if (j>i)
res[i].push_back(-2);
else
res[i].push_back(-1);
}
return res;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |