結果
問題 |
No.9001 標準入出力の練習問題(テスト用)
|
ユーザー |
![]() |
提出日時 | 2020-03-29 15:03:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 245 bytes |
コンパイル時間 | 1,646 ms |
コンパイル使用メモリ | 161,624 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-01-02 13:27:44 |
合計ジャッジ時間 | 2,351 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }