結果

問題 No.661 ハローキティはりんご3個分
ユーザー kou_kkkkou_kkk
提出日時 2023-10-02 12:29:01
言語 Nim
(2.0.2)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 6,402 ms
コンパイル使用メモリ 67,820 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-10-02 12:29:08
合計ジャッジ時間 4,117 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import strutils

let i = parseInt readLine stdin

for _ in 0..<i:
  let n = parseInt readLine stdin
  
  if n mod 80 == 0:
    echo "ikisugi"
    continue
    
  if n mod 8 == 0:
    echo "iki"
    continue
  
  if n mod 10 == 0:
    echo "sugi"
    continue
  
  else:
    echo n div 3
0