您的位置:首页 > 其它

Hdu 5347 MZL's chemistry (打表)

2016-07-13 20:59 344 查看
[code]:

#include<cstdio>
#include<cstring>
#include<algorithm>

using namespace std;

double a[100] = {0,1312
,2372.3
,520.2
,932
,800.6
,1086.5
,1402.3
,1313.9
,1681
,2080.7
,495.8
,737.7
,577.5
,786.5
,1011.8
,999.6
,1251.2
,1520.6
,0};

int main(){
int i,j;
a[35] = 1139.9;
a[36] = 1350.8;
a[53] = 1008.4;
a[54] = 1170.4;
a[85] = 890;
a[86] = 1037;
while(~scanf("%d%d",&i,&j)){
if(a[i]>a[j]) printf("FIRST BIGGER\n");
else printf("SECOND BIGGER\n");
}

return 0;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: