結果

問題 No.423 ハムスター語初級(数詞)
ユーザー snrnsidy
提出日時 2025-09-01 23:45:52
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 218 bytes
コンパイル時間 1,436 ms
コンパイル使用メモリ 194,612 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-09-01 23:45:55
合計ジャッジ時間 2,273 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(void)
{
    cin.tie(0);
    ios::sync_with_stdio(false);

    string t;
    cin >> t;
	
	if(t!="ham") t += "ham";

    cout << t << '\n';
    
    return 0;   
}
0