結果
| 問題 |
No.9012 二数の足し算
|
| ユーザー |
K023C0041
|
| 提出日時 | 2025-05-15 14:13:53 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 391 bytes |
| コンパイル時間 | 423 ms |
| コンパイル使用メモリ | 28,292 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-05-15 14:13:54 |
| 合計ジャッジ時間 | 1,177 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 6 |
ソースコード
#include <stdio.h>
int main() {
int a, b;
printf("Enter two integers separated by a comma: ");
int input_result = scanf("%d , %d", &a, &b);
if (input_result != 2) {
printf("Invalid input. Please enter two integers separated by a comma.\n");
return 1;
}
int sum = a + b;
int output_result = printf("a+b=%d\n", sum);
return output_result;
}
K023C0041