結果
| 問題 |
No.661 ハローキティはりんご3個分
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-04-16 00:51:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 391 bytes |
| コンパイル時間 | 1,577 ms |
| コンパイル使用メモリ | 166,420 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-27 02:57:28 |
| 合計ジャッジ時間 | 2,013 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}