結果

問題 No.661 ハローキティはりんご3個分
ユーザー ei1333333
提出日時 2018-03-09 23:32:47
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 346 bytes
コンパイル時間 2,046 ms
コンパイル使用メモリ 194,508 KB
最終ジャッジ日時 2025-01-05 09:10:46
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;

int main() {
  int X;
  cin >> X;
  while(X--) {
    int N;
    cin >> N;
    if(N % 80 == 0) {
      cout << "ikisugi" << endl;
    } else if(N % 10 == 0) {
      cout << "sugi" << endl;
    } else if(N % 8 == 0) {
      cout << "iki" << endl;
    } else {
      cout << N / 3 << endl;
    }
  }
}
0