結果
| 問題 | No.661 ハローキティはりんご3個分 |
| コンテスト | |
| ユーザー |
tecchaxn
|
| 提出日時 | 2018-03-10 09:45:00 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 474 bytes |
| 記録 | |
| コンパイル時間 | 2,962 ms |
| コンパイル使用メモリ | 174,344 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-29 23:59:06 |
| 合計ジャッジ時間 | 1,603 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
#include<bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
#define ALL(v) (v).begin(),(v).end()
#define int long long
using namespace std;
//-----------------------------------------------------------------------
signed main()
{
int N; cin>>N;
REP(i,N){
int a; cin>>a;
if(a%8==0 and a%10==0) cout<<"ikisugi"<<endl;
else if(a%8==0) cout<<"iki"<<endl;
else if(a%10==0) cout<<"sugi"<<endl;
else cout<<a/3<<endl;
}
}
tecchaxn