結果
問題 |
No.9012 二数の足し算
|
ユーザー |
![]() |
提出日時 | 2025-05-15 14:12:42 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 388 bytes |
コンパイル時間 | 454 ms |
コンパイル使用メモリ | 28,292 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-15 14:12:43 |
合計ジャッジ時間 | 1,137 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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; }