結果

問題 No.661 ハローキティはりんご3個分
ユーザー yuki0217yuki0217
提出日時 2018-06-26 11:11:32
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 417 bytes
コンパイル時間 428 ms
コンパイル使用メモリ 52,120 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-13 14:06:39
合計ジャッジ時間 875 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#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;
       }
    }
    return 0;
}
0