結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
mudbdb
|
| 提出日時 | 2022-01-28 22:17:04 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 136 bytes |
| 記録 | |
| コンパイル時間 | 357 ms |
| コンパイル使用メモリ | 72,800 KB |
| 実行使用メモリ | 7,968 KB |
| 最終ジャッジ日時 | 2026-06-03 23:09:52 |
| 合計ジャッジ時間 | 991 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:32: warning: 'b' is used uninitialized [-Wuninitialized]
6 | std::cout << a+b << " " << s << std::endl;
| ^
main.cpp:3:11: note: 'b' was declared here
3 | int a,b;
| ^
ソースコード
#include <iostream>
int main() {
int a,b;
std::string s;
std::cin >> a,b,s;
std::cout << a+b << " " << s << std::endl;
}
mudbdb