結果

問題 No.661 ハローキティはりんご3個分
ユーザー nominomi
提出日時 2018-07-12 11:24:55
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 433 bytes
コンパイル時間 2,092 ms
コンパイル使用メモリ 166,628 KB
実行使用メモリ 6,676 KB
最終ジャッジ日時 2024-04-08 17:31:11
合計ジャッジ時間 1,972 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

using ll = long long;
#define rep(i, n) for (int (i) = (0); (i) < (n); ++(i))

int main() {
   int n;
   cin >> n;
   rep (i, n) {
      int a; cin >> a;
      if (a % 80 == 0) {
         puts("ikisugi");
      } else if (a % 8 == 0) {
         puts("iki");
      } else if (a % 10 == 0) {
         puts("sugi");
      } else {
         cout << a/3 << endl;
      }
   }

   return 0;
}
0