結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー mudbdbmudbdb
提出日時 2022-01-28 22:15:21
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 133 bytes
コンパイル時間 503 ms
コンパイル使用メモリ 63,876 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-28 20:16:40
合計ジャッジ時間 945 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#include <iostream>
int main() {
    int a,b;
    char s[11];
    std::cin >> a,b,s;
    std::cout << a+b << " " << s << std::endl;
}
0