結果

問題 No.661 ハローキティはりんご3個分
ユーザー 西尾西尾
提出日時 2018-03-13 10:25:21
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 350 bytes
コンパイル時間 1,462 ms
コンパイル使用メモリ 166,500 KB
実行使用メモリ 6,816 KB
最終ジャッジ日時 2024-11-21 10:46:54
合計ジャッジ時間 2,019 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main()
{
int i;
int iLine;
int N;

	cin >> iLine;
	for( i = 0; i < iLine; i++ )
	{
		cin >> N;
		if( N % 80 == 0 )
			cout << "ikisugi" << endl;
		else if( N % 10 == 0 )
			cout << "sugi" << endl;
		else if( N % 8 == 0 )
			cout << "iki" << endl;
		else
			cout << N / 3 << endl;
	}

	return 0;
}


0