結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
👑 |
| 提出日時 | 2021-11-15 16:39:54 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 125 bytes |
| コンパイル時間 | 758 ms |
| コンパイル使用メモリ | 63,892 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-12-14 21:48:23 |
| 合計ジャッジ時間 | 1,196 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:27: warning: 'a' may be used uninitialized [-Wmaybe-uninitialized]
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' may be used uninitialized [-Wmaybe-uninitialized]
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;
}