Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1654 张曦元 时分秒转换 C++ Wrong Answer 0 0 MS 252 KB 296 2019-10-17 20:24:11

Tests(0/2):


#include<iostream> int main(){ int a,b; float c; scanf("%d,%d",&a,&b); switch(a){ case 1: c=b+b*a*0.0225;break; case 2: c=b+b*a*0.0243;break; case 3: c=b+b*a*0.0270; break; case 4: c=b+b*a*0.0288;break; case 5: c=b+b*a*0.0300;break; } printf("合计为%f",c); return 0; }


Judgement Protocol: