結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー Shoji_pg_loveShoji_pg_love
提出日時 2021-05-15 22:42:59
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 115 bytes
コンパイル時間 1,631 ms
コンパイル使用メモリ 162,236 KB
実行使用メモリ 6,940 KB
最終ジャッジ日時 2024-04-14 13:00:03
合計ジャッジ時間 2,095 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function 'int main()':
main.cpp:6:25: warning: 'a' is used uninitialized [-Wuninitialized]
    6 |   cout << a+b << " " << s << endl;
      |                         ^
main.cpp:5:7: note: 'a' was declared here
    5 |   int a,b; string s;
      |       ^
main.cpp:6:25: warning: 'b' is used uninitialized [-Wuninitialized]
    6 |   cout << a+b << " " << s << endl;
      |                         ^
main.cpp:5:9: note: 'b' was declared here
    5 |   int a,b; string s;
      |         ^

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
  int a,b; string s;
  cout << a+b << " " << s << endl;
}
0