結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
|
| 提出日時 | 2018-06-27 18:00:57 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 121 bytes |
| 記録 | |
| コンパイル時間 | 336 ms |
| コンパイル使用メモリ | 70,212 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-21 11:46:49 |
| 合計ジャッジ時間 | 643 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:9:26: warning: 'A' is used uninitialized [-Wuninitialized]
9 | cout<<A+B<< " "<<S<<endl;
| ^
main.cpp:6:13: note: 'A' was declared here
6 | int A,B;
| ^
main.cpp:9:26: warning: 'B' is used uninitialized [-Wuninitialized]
9 | cout<<A+B<< " "<<S<<endl;
| ^
main.cpp:6:15: note: 'B' was declared here
6 | int A,B;
| ^
ソースコード
#include<iostream>
using namespace std;
int main()
{
int A,B;
char S[11];
cout<<A+B<< " "<<S<<endl;
return 0;
}