# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
150579 | 2019-09-01T08:40:15 Z | 갓띵건(#3694, gs18103, sjimed, gs18065) | Wine Tasting (FXCUP4_wine) | C++17 | 10 ms | 1024 KB |
#include "bartender.h" #include <bits/stdc++.h> using namespace std; std::vector<int> BlendWines(int k, vector<int> r){ int n = r.size(); if(k<9){ for(int i=0;i<n;i++){ r[i]=1; } return r; } vector<int> v; for(int i=0;i<n;i++){ r[i]=r[i]%9+1; } return r; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 8 ms | 772 KB | Correct |
2 | Correct | 8 ms | 772 KB | Correct |
3 | Correct | 9 ms | 908 KB | Correct |
4 | Correct | 9 ms | 884 KB | Correct |
5 | Correct | 10 ms | 1024 KB | Correct |
6 | Correct | 8 ms | 772 KB | Correct |
7 | Incorrect | 9 ms | 644 KB | Wrong |
8 | Halted | 0 ms | 0 KB | - |