結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
👑 |
| 提出日時 | 2021-11-15 16:39:54 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 125 bytes |
| 記録 | |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 74,964 KB |
| 実行使用メモリ | 9,844 KB |
| 最終ジャッジ日時 | 2026-10-03 17:39:32 |
| 合計ジャッジ時間 | 1,308 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:27: warning: 'a' is used uninitialized [-Wuninitialized]
6 | cout << a+b << " " << s << endl;
| ^
main.cpp:4:9: note: 'a' was declared here
4 | int a,b;
| ^
main.cpp:6:27: warning: 'b' is used uninitialized [-Wuninitialized]
6 | cout << a+b << " " << s << endl;
| ^
main.cpp:4:11: note: 'b' was declared here
4 | int a,b;
| ^
ソースコード
#include <iostream>
using namespace std;
int main(){
int a,b;
string s;cin>>s;
cout << a+b << " " << s << endl;
}