よじろめ覚書

私の理解度重視のソースコードです。

2019-11-22から1日間の記事一覧

ABC104A - Rated for Me

ABC

問題:A - Rated for Me #include <iostream> #include <string> using namespace std; int getRatedContest(int x_r) { if (x_r < 1200) { return 0; } else if (x_r < 2800) { return 1; } else { return 2; } } int main(void) { int r; const string contest[3] = {"ABC", </string></iostream>…