結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
![]() |
提出日時 | 2018-01-10 12:44:32 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 482 bytes |
コンパイル時間 | 547 ms |
コンパイル使用メモリ | 68,712 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-23 15:36:55 |
合計ジャッジ時間 | 1,075 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
ソースコード
#include<iostream>#include<string>#include<vector>#include<algorithm>#include<cmath>#include<functional>#define For(i, N) for (i = 0; i < N; i++)#define rep(N) for (int i = 0; i < N; i++)using namespace std;using ll = long long int;using vi = vector<int>;using vb = vector<bool>;using vs = vector<string>;using pib = pair<int, bool>;template<typename T>void say(T s) {cout << s << endl;}int main() {string s;cin >> s;if (s != "ham")s += "ham";say(s);}