結果
| 問題 |
No.661 ハローキティはりんご3個分
|
| コンテスト | |
| ユーザー |
yuki0217
|
| 提出日時 | 2018-06-26 11:09:13 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 408 bytes |
| コンパイル時間 | 408 ms |
| コンパイル使用メモリ | 56,736 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-30 22:52:14 |
| 合計ジャッジ時間 | 866 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 |
ソースコード
#include<iostream>
using namespace std;
int main(){
int i;
cin>>i;
cout<<i<<endl;
int a[i];
for(int j=0;j<i;j++){
cin>>a[j];
if(a[j]%8==0&&a[j]%10==0){
cout<<"ikisugi"<<endl;
}else if(a[j]%8==0){
cout<<"iki"<<endl;
}else if(a[j]%10==0){
cout<<"sugi"<<endl;
}else{
cout<<a[j]/3<<endl;
}
}
}
yuki0217