結果
| 問題 |
No.9012 二数の足し算
|
| ユーザー |
1312_佐藤悠人
|
| 提出日時 | 2020-11-28 23:11:15 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 136 bytes |
| コンパイル時間 | 715 ms |
| コンパイル使用メモリ | 19,712 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-19 01:17:50 |
| 合計ジャッジ時間 | 1,133 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 5 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%d",&x);
| ^~~~~~~~~~~~~~
main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d",&y);
| ^~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
int main(void){
int x,y;
scanf("%d",&x);
scanf("%d",&y);
printf("a + b = %d\n",x + y);
return 0;
}
1312_佐藤悠人