結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー urotasurotas
提出日時 2020-03-29 15:03:07
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 245 bytes
コンパイル時間 2,063 ms
コンパイル使用メモリ 163,776 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-30 18:43:55
合計ジャッジ時間 2,008 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: 関数 ‘int main()’ 内:
main.cpp:12:20: 警告: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
   12 |   cout << A + B << S << endl;
      |                    ^
main.cpp:8:10: 備考: ‘B’ はここで定義されています
    8 |   int A, B;
      |          ^

ソースコード

diff #

#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;
}
0