結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
urotas
|
| 提出日時 | 2020-03-29 15:03:07 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 245 bytes |
| 記録 | |
| コンパイル時間 | 1,010 ms |
| コンパイル使用メモリ | 178,648 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-06 03:06:39 |
| 合計ジャッジ時間 | 1,846 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:12:20: warning: 'B' is used uninitialized [-Wuninitialized]
12 | cout << A + B << S << endl;
| ^
main.cpp:8:10: note: 'B' was declared here
8 | int A, B;
| ^
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int,int>;
int main() {
int A, B;
string S;
cin >> A, B, S;
cout << A + B << S << endl;
return 0;
}
urotas