제출 #468241

#제출 시각아이디문제언어결과실행 시간메모리
468241ala2Knapsack (NOI18_knapsack)C++14
0 / 100
1 ms204 KiB
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int k; cin>>k; int a,b,c; cin>>a>>b>>c; int v=n/b; cout<<min(v*a,n)<<endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...