# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
150824 | 2019-09-01T08:58:02 Z | =SUM(D1:D9)(#3629, ydk1104, stet_stet, Hyperbolic) | Wine Tasting (FXCUP4_wine) | C++17 | 10 ms | 908 KB |
#include "bartender.h" std::vector<int> BlendWines(int K, std::vector<int> R){ int N = R.size(); for(auto &i:R){ if(i>6) i-=5; else i=1; } return R; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 9 ms | 644 KB | Correct |
2 | Correct | 10 ms | 796 KB | Correct |
3 | Correct | 10 ms | 908 KB | Correct |
4 | Incorrect | 9 ms | 900 KB | Wrong |
5 | Halted | 0 ms | 0 KB | - |