結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
![]() |
提出日時 | 2018-09-11 23:01:46 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 1,263 ms |
コンパイル使用メモリ | 161,504 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-24 09:26:46 |
合計ジャッジ時間 | 1,841 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
ソースコード
#include <bits/stdc++.h>typedef long long ll;#define INF 1000000000#define MOD 1000000007using namespace std;int main(void){string s;cin>>s;string ans;if(s=="ham"){ans="ham";}else{ans=s+"ham";}cout<<ans<<endl;}