Submission #150683

#TimeUsernameProblemLanguageResultExecution timeMemory
150683=SUM(D1:D9) (#200)Wine Tasting (FXCUP4_wine)C++17
0 / 100
10 ms908 KiB
#include "bartender.h" std::vector<int> BlendWines(int K, std::vector<int> R){ int N = R.size(); for(auto &i:R) i++; return R; }
#include "taster.h" std::vector<int> SortWines(int K, std::vector<int> A) { int N = A.size(); for(auto &i:A) i--; return A; }

Compilation message (stderr)

bartender.cpp: In function 'std::vector<int> BlendWines(int, std::vector<int>)':
bartender.cpp:4:6: warning: unused variable 'N' [-Wunused-variable]
  int N = R.size();
      ^

taster.cpp: In function 'std::vector<int> SortWines(int, std::vector<int>)':
taster.cpp:4:6: warning: unused variable 'N' [-Wunused-variable]
  int N = A.size();
      ^
#Verdict Execution timeMemoryGrader output
Fetching results...