結果
| 問題 |
No.9012 二数の足し算
|
| ユーザー |
k023c0073
|
| 提出日時 | 2025-05-14 15:05:09 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 157 bytes |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 25,520 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-05-14 15:05:10 |
| 合計ジャッジ時間 | 898 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:7:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%d , %d", &a, &b);
| ^~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void)
{
int a;
int b;
scanf("%d , %d", &a, &b);
int ans = a + b;
printf("a + b = %d", ans);
return 0;
}
k023c0073