# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
637770 | victor_gao | Broken Device 2 (JOI22_device2) | C++17 | 757 ms | 524288 KiB |
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 "Anna.h"
#include <utility>
#include <vector>
namespace {
int variable_example = 0;
}
int Declare() {
return 2000;
}
std::pair<std::vector<int>, std::vector<int> > Anna(long long A) {
std::vector<int> X = {};
std::vector<int> Y = {};
for (int i=1;i<=A;i++)
X.push_back(1);
for (int j=1;j<=2000;j++)
Y.push_back(0);
for (int i=A+1;i<=2000;i++)
X.push_back(0);
return make_pair(X, Y);
}
#include "Bruno.h"
#include <utility>
#include <vector>
namespace {
int variable_example = 0;
}
long long Bruno(std::vector<int> u) {
long long ans=0;
for (auto i:u)
ans+=i;
return ans;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |