結果
問題 |
No.661 ハローキティはりんご3個分
|
ユーザー |
|
提出日時 | 2018-04-16 01:10:12 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 350 bytes |
コンパイル時間 | 1,641 ms |
コンパイル使用メモリ | 166,176 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-27 02:59:45 |
合計ジャッジ時間 | 2,150 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 1 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int i; scanf("%d", &i); for(int k = 0; k < i; k++) { int N; scanf("%d", &N); if (N % 8 == 0) { printf("iki"); } if (N % 10 == 0) { printf("sugi"); } else { printf("%d", N / 3); } printf("\n"); } return 0; }