結果
| 問題 | No.661 ハローキティはりんご3個分 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-16 00:51:24 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 391 bytes |
| 記録 | |
| コンパイル時間 | 1,398 ms |
| コンパイル使用メモリ | 178,236 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-14 06:08:39 |
| 合計ジャッジ時間 | 1,526 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 |
ソースコード
#include <bits/stdc++.h>
int main()
{
int i;
scanf("%d", &i);
for(int k = 0; k < i; k++)
{
int N;
scanf("%d", &N);
if (N % 8 == 0 && N % 10 == 0)
{
printf("ikisugi\n");
}
else if (N % 8)
{
printf("iki\n");
}
else if (N % 10)
{
printf("sugi\n");
}
else
{
printf("%d\n", N / 3);
}
}
return 0;
}