結果

問題 No.9012 二数の足し算
ユーザー k022c0007k022c0007
提出日時 2024-05-10 13:29:32
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 425 bytes
コンパイル時間 480 ms
コンパイル使用メモリ 62,908 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-05-10 13:29:33
合計ジャッジ時間 1,049 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>  // C++での標準入出力用
#include <cstdio>    // C言語の `scanf` や `printf` 用

int main() {
    int a, b;
    
    // ユーザーから2つの整数を読み取る
    std::cout << "Enter two numbers: ";
    scanf("%d,%d", &a, &b);  // ユーザーの入力を変数a, bに格納
    
    // a + b の結果を出力
    printf("a + b = %d\n", a + b);
    
    return 0;  // 正常終了
}
0