結果

問題 No.446 ゆきこーだーの雨と雪 (1)
ユーザー eight_game
提出日時 2017-01-14 16:48:17
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 110 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 19,584 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-21 12:43:23
合計ジャッジ時間 793 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 13
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    5 | scanf("%d", &a);
      | ^~~~~~~~~~~~~~~
main.c:6:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 | scanf("%d", &b);
      | ^~~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
int main()
{
int a, b;
scanf("%d", &a);
scanf("%d", &b);

printf("%d\n", a + b);
return 0;
}
0