# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1166793 | MateiKing80 | Carnival Tickets (IOI20_tickets) | C++20 | 716 ms | 107604 KiB |
#include "tickets.h"
#include <bits/stdc++.h>
using namespace std;
#include "tickets.h"
#include <bits/stdc++.h>
using namespace std;
int sum[1505], f[1505], b[1505];
vector<vector<int>> ret;
bool cmp(pair<long long, pair<int, int>> a, pair<long long, pair<int, int>> _b)
{
if (a.first != _b.first)
return a.first > _b.first;
else
return a.second < _b.second;
}
long long find_maximum(int k, std::vector<std::vector<int>> d)
{
int c = d.size();
int s = d[0].size();
vector<pair<long long, pair<int, int>>> V;
long long ans = 0;
vector<vector<pair<int, int>>> d2;
d2.resize(c);
for (int i = 0; i < c; i ++)
for (int j = 0; j < s; j ++)
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |