結果
| 問題 |
No.661 ハローキティはりんご3個分
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-28 21:58:54 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 343 bytes |
| コンパイル時間 | 2,037 ms |
| コンパイル使用メモリ | 192,804 KB |
| 最終ジャッジ日時 | 2025-01-07 09:48:06 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int i;
cin >> i;
while (i--) {
int a;
cin >> a;
if (a % 40 == 0) puts("ikisugi");
else if (a % 8 == 0) puts("iki");
else if (a % 10 == 0) puts("sugi");
else cout << a / 3 << endl;
}
return 0;
}