結果
問題 | No.56 消費税 |
ユーザー | #ラス+ |
提出日時 | 2019-11-11 20:58:58 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 59 ms / 5,000 ms |
コード長 | 1,118 bytes |
コンパイル時間 | 835 ms |
コンパイル使用メモリ | 63,652 KB |
実行使用メモリ | 22,796 KB |
最終ジャッジ日時 | 2023-10-13 08:15:03 |
合計ジャッジ時間 | 3,478 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 59 ms
20,680 KB |
testcase_01 | AC | 57 ms
20,676 KB |
testcase_02 | AC | 57 ms
20,812 KB |
testcase_03 | AC | 57 ms
22,712 KB |
testcase_04 | AC | 57 ms
20,668 KB |
testcase_05 | AC | 57 ms
20,756 KB |
testcase_06 | AC | 56 ms
20,768 KB |
testcase_07 | AC | 56 ms
20,668 KB |
testcase_08 | AC | 57 ms
20,816 KB |
testcase_09 | AC | 57 ms
20,700 KB |
testcase_10 | AC | 57 ms
22,752 KB |
testcase_11 | AC | 56 ms
20,668 KB |
testcase_12 | AC | 56 ms
20,600 KB |
testcase_13 | AC | 57 ms
20,776 KB |
testcase_14 | AC | 58 ms
22,708 KB |
testcase_15 | AC | 57 ms
20,804 KB |
testcase_16 | AC | 57 ms
20,708 KB |
testcase_17 | AC | 57 ms
20,644 KB |
testcase_18 | AC | 56 ms
20,616 KB |
testcase_19 | AC | 57 ms
20,756 KB |
testcase_20 | AC | 57 ms
20,756 KB |
testcase_21 | AC | 58 ms
20,764 KB |
testcase_22 | AC | 58 ms
20,676 KB |
testcase_23 | AC | 57 ms
22,796 KB |
testcase_24 | AC | 56 ms
20,812 KB |
testcase_25 | AC | 57 ms
20,604 KB |
testcase_26 | AC | 57 ms
20,628 KB |
ソースコード
using System; using System.IO; using System.Collections.Generic; using static System.Console; using static System.Math; class Start{ static void Solve(){ WriteLine(Rint()*(100+Rint())/100); } static void Main(){ readcount=-1; read=In.ReadToEnd().Split(' ','\n'); var sw=new StreamWriter(OpenStandardOutput()){AutoFlush=false}; SetOut(sw); Solve(); Out.Flush(); } const long MOD=1000000007L; static void Swap<T>(ref T a,ref T b){T c=a;a=b;b=c;} static string Read(){readcount++;return read[readcount];} static int Rint(){readcount++;return int.Parse(read[readcount]);} static long Rlong(){readcount++;return long.Parse(read[readcount]);} static double Rdouble(){readcount++;return double.Parse(read[readcount]);} static char Rchar(){readcount++;return read[readcount][0];} static string[] read;static int readcount; } class Pair<T1,T2>:IComparable<Pair<T1,T2>>where T1:IComparable<T1>where T2:IComparable<T2>{ public T1 F;public T2 S; public Pair(T1 f,T2 s){F=f;S=s;} public int CompareTo(Pair<T1,T2> p)=>F.CompareTo(p.F)!=0?F.CompareTo(p.F):S.CompareTo(p.S); }