# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
762606 | goodbyehanbyeol | Wine Tasting (FXCUP4_wine) | C++17 | 13 ms | 19760 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 "bartender.h"
#include <bits/stdc++.h>
using namespace std;
#define MAX 101010
typedef pair<int, int> pii;
int N;
std::vector<int> BlendWines(int K, std::vector<int> R){
vector<int> v;
for (auto x : R) {
x--;
if (x >= 24) v.push_back(x - 17);
else v.push_back(x / 4 + 1);
}
return v;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |