結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー CleyLCleyL
提出日時 2021-11-15 16:39:54
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 125 bytes
コンパイル時間 524 ms
コンパイル使用メモリ 62,996 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-21 11:09:30
合計ジャッジ時間 936 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int a,b;
    string s;cin>>s;
    cout << a+b << " " << s << endl;
}
0