竞赛
考级
潜龙暗虎
#include<cstdio> #include<iostream> #include<cmath> using namespace std; int main(){ int a,b; double c=0.0; cin>>a; for(int i=1;i<=a;i++){ cin>>b; if(b<=70)c=c+0.1; else { while(1){ b-=70; c=c+0.1; if(b<0)break; } } } cout<<c; return 0; }
准
_1943
6.
注:没流量电话卡无话费
༺ཌༀTN黑客ༀད༻
共25条