# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
51376 | spencercompton | Popeala (CEOI16_popeala) | C++17 | 2 ms | 496 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 <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
ifstream in ("popeala.in");
long t, n, s;
in >> n >> t >> s;
long long cumu[t+1];
cumu[0] = 0;
for(long i = 1; i<=t; i++){
in >> cumu[i];
cumu[i]+=cumu[i-1];
}
bool got[n][t];
for(long i = 0; i<n; i++){
string str;
in >> str;
for(long j = 0; j<t; j++){
got[i][j] = str[j]=='1';
}
}
vector<vector<long long> > best;
best.resize(s+1);
for(long a = 0; a<=s; a++){
# | 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... |