結果

問題 No.56 消費税
ユーザー konabe
提出日時 2018-04-16 15:07:33
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 149 bytes
コンパイル時間 1,412 ms
コンパイル使用メモリ 26,624 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-27 04:01:00
合計ジャッジ時間 1,005 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

//gcc 5.4.0

#include  <stdio.h>

int main(void)
{
    long D;
    int P;
    scanf("%ld %d", &D, &P);
    printf("%d", (int)(D*(100+P)/100));
    
}
0