結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2021-05-15 22:42:59 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 115 bytes |
| コンパイル時間 | 1,536 ms |
| コンパイル使用メモリ | 166,816 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-03 11:05:12 |
| 合計ジャッジ時間 | 1,974 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:25: warning: 'a' is used uninitialized [-Wuninitialized]
6 | cout << a+b << " " << s << endl;
| ^
main.cpp:5:7: note: 'a' was declared here
5 | int a,b; string s;
| ^
main.cpp:6:25: warning: 'b' is used uninitialized [-Wuninitialized]
6 | cout << a+b << " " << s << endl;
| ^
main.cpp:5:9: note: 'b' was declared here
5 | int a,b; string s;
| ^
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b; string s;
cout << a+b << " " << s << endl;
}