結果
問題 |
No.56 消費税
|
ユーザー |
![]() |
提出日時 | 2015-11-05 20:31:33 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 111 bytes |
コンパイル時間 | 118 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-13 12:50:05 |
合計ジャッジ時間 | 955 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 23 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:4:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | scanf("%d%d",&d,&p); | ^~~~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> int main(void){ int d,p; scanf("%d%d",&d,&p); printf("%d\b\b\n",d*(100+p)); return 0; }