結果
問題 | No.661 ハローキティはりんご3個分 |
ユーザー | rickytheta |
提出日時 | 2018-03-09 22:22:09 |
言語 | C++11 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 214 bytes |
コンパイル時間 | 1,443 ms |
コンパイル使用メモリ | 157,144 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-04-18 11:56:13 |
合計ジャッジ時間 | 1,971 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
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 | 1 ms
5,376 KB |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; while(n--){ int x; cin>>x; if(x%80==0)puts("ikisugi"); else if(x%8==0)puts("iki"); else if(x%10==0)puts("sugi"); else printf("%d\n",x/3); } }