摘要: AtCoder Regular Contest 118 A - Tax Included Price int main() { IOS; ll k, c; cin >> n >> k; c = (100 * k - 1) / n + 1; cout << (n + 100) * c / 100 - 阅读全文
posted @ 2021-05-10 13:37 洛绫璃 阅读(184) 评论(2) 推荐(0) 编辑
摘要: 牛客练习赛82 A - Mocha 的字符串 int a[N], c, ans = 2e9; char s[N], t[] = "mocha"; bool check(int x) { rep (i, 0, 4) if (s[i + x] ^ t[i]) return 0; return 1; } 阅读全文
posted @ 2021-05-10 13:27 洛绫璃 阅读(46) 评论(0) 推荐(0) 编辑