1763 A Simple Question of Chemistry
2014-09-01 16:38
337 查看
#include<stdio.h> #include<math.h> int main() { double x,y; int flag; flag = 0; while(scanf("%lf",&y)&&fabs(y - 999)>0.0001){ if(flag == 0) flag = 1; else printf("%.2lf\n",y - x); x = y; } printf("End of Output\n"); return 0; }
相关文章推荐
- zoj1763-----------A Simple Question of Chemistry
- 1763_A Simple Question of Chemistry
- ZOJ 1763 A Simple Question of Chemistry
- zoj 1763 A Simple Question of Chemistry
- zoj 1763 A Simple Question of Chemistry
- zoj 1763 A Simple Question of Chemistry
- zoj 1763 A Simple Question of Chemistry
- ZOJ 1763: A Simple Question of Chemistry 【位数问题setprecision】
- zoj 1763 A Simple Question of Chemistry(洪水!)
- ZOJ Problem Set–1763 A Simple Question of Chemistry
- zju1763一个简单的化学问题A Simple Question of Chemistry
- poj 2871 A Simple Question of Chemistry
- POJ 2871 A Simple Question of Chemistry(水~)
- poj 2871 A Simple Question of Chemistry
- POJ 2871 A Simple Question of Chemistry(我的水题之路——数列两数之差 )
- poj 2871 A Simple Question of Chemistry
- poj2871 A Simple Question of Chemistry(水题)
- poj2871 A Simple Question of Chemistry
- POJ 2871 A Simple Question of Chemistry(水题)
- poj 2871 A Simple Question of Chemistry