結果

問題 No.661 ハローキティはりんご3個分
ユーザー hiragnhiragn
提出日時 2019-07-25 23:00:05
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 431 bytes
コンパイル時間 1,436 ms
コンパイル使用メモリ 164,596 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-15 00:08:45
合計ジャッジ時間 1,980 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
    int t;
    cin >> t;

    while (t--) {
        int n;
        cin >> n;

        if (n % 40 == 0) {
            cout << "ikisugi" << endl;
        } else if (n % 8 == 0) {
            cout << "iki" << endl;
        } else if (n % 10 == 0) {
            cout << "sugi" << endl;
        } else {
            cout << n / 3 << endl;
        }
        return 0;
    }
}
0