OJ-Problems-Source/OpenJudge/ch0112_冰封/02.cpp

26 lines
376 B
C++
Raw Normal View History

2016-07-06 14:15:22 +08:00
#include<stdio.h>
#include<iostream>
using namespace std;
int a[10000];
int fuck,shit = 0;
void fuckYou(int fa){
if(fa<=0) return;
shit += 1;
fa -= 70;
fuckYou(fa);
}
int main(void){
scanf("%d",&fuck);
for(int i = 0; i < fuck; i++){
scanf("%d",&a[i]);
fuckYou(a[i]);
}
printf("%.1f",shit/10.0);
return 0;
}