結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー キョウチクキョウチク
提出日時 2019-02-25 13:41:36
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 1,073 ms
コンパイル使用メモリ 50,508 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-26 21:48:47
合計ジャッジ時間 859 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:7:20: warning: ‘b’ is used uninitialized in this function [-Wuninitialized]
     std::cout << a+b << std::endl;
                    ^

ソースコード

diff #

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