2019-08-16から1日間の記事一覧
問題:A - Restaurant #include <iostream> using namespace std; int main(void) { int n; cin.tie(0); ios::sync_with_stdio(false); cin >> n; cout << n * 800 - (n / 15) * 200 << "\n"; return 0; }</iostream>
問題:A - Restaurant #include <iostream> using namespace std; int main(void) { int n; cin.tie(0); ios::sync_with_stdio(false); cin >> n; cout << n * 800 - (n / 15) * 200 << "\n"; return 0; }</iostream>