結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー HaijinnHaijinn
提出日時 2016-07-20 21:35:40
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 249 ms
コンパイル使用メモリ 20,096 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-15 17:56:52
合計ジャッジ時間 393 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 2
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:7:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    7 | scanf("%d%d",&A,&B);
      | ^~~~~~~~~~~~~~~~~~~
main.c:8:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 | scanf("%s",ap);
      | ^~~~~~~~~~~~~~

ソースコード

diff #

#include<stdio.h>
 int main(){
int A;
int B;
char ap[10];

scanf("%d%d",&A,&B);
scanf("%s",ap);

printf("%d",A+B);
printf("%s",ap);



return 0;
}
0