結果
問題 | No.423 ハムスター語初級(数詞) |
ユーザー |
|
提出日時 | 2024-03-30 02:15:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 3,176 ms |
コンパイル使用メモリ | 193,328 KB |
最終ジャッジ日時 | 2025-02-20 15:50:13 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
外部呼び出し有り |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:14:11: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | system("pause"); | ~~~~~~^~~~~~~~~
ソースコード
// コピーして使う!#include <bits/stdc++.h>using namespace std;using ll = long long;int main() {string n;cin >> n;if (n != "ham") {cout << n << "ham" << endl;} else {cout << "ham" << endl;}system("pause");}