結果
問題 | No.661 ハローキティはりんご3個分 |
ユーザー | 西尾 |
提出日時 | 2018-03-13 10:25:21 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 350 bytes |
コンパイル時間 | 1,983 ms |
コンパイル使用メモリ | 166,280 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-05-01 07:56:09 |
合計ジャッジ時間 | 2,079 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
5,248 KB |
testcase_01 | WA | - |
testcase_02 | AC | 2 ms
5,376 KB |
testcase_03 | AC | 1 ms
5,376 KB |
testcase_04 | AC | 2 ms
5,376 KB |
ソースコード
#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; }