Submission #721158

#TimeUsernameProblemLanguageResultExecution timeMemory
721158lamBroken Device 2 (JOI22_device2)C++17
5 / 100
586 ms524288 KiB
#include "Anna.h" #include <utility> #include <vector> #include <bits/stdc++.h> using namespace std; int Declare() { return 2000; } std::pair<std::vector<int>, std::vector<int> > Anna(long long A) { vector <int> a,b; for (int i=0; i<A; i++) a.push_back(0); for (int i=0; i<A; i++) b.push_back(1); return make_pair(a, b); }
#include "Bruno.h" #include <utility> #include <vector> #include <bits/stdc++.h> using namespace std; long long Bruno(std::vector<int> u) { int cnt=0; for (int i:u) if (i==1) cnt++; return cnt; }
#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...