結果
| 問題 |
No.661 ハローキティはりんご3個分
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-17 21:06:06 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 354 bytes |
| コンパイル時間 | 585 ms |
| コンパイル使用メモリ | 65,808 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-11 11:17:29 |
| 合計ジャッジ時間 | 1,044 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 |
ソースコード
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
int N[n];
for(int i=0;i<n;i++){
cin >> N[i];
cout<<endl;
}
for(int i=0;i<n;i++){
if(N[i]%8==0 && N[i]%10==0) cout<<"ikisugi"<<endl;
else if(N[i]%10==0) cout<<"sugi"<<endl;
else if(N[i]%8==0) cout<<"iki"<<endl;
else cout<<N[i]/3<<endl;
cout<<endl;
}
return 0;
}