Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
134149 王金檐 短信计费 C++ Accepted 2 MS 280 KB 211 2025-10-25 20:19:48

Tests(10/10):


Code:

#include<iostream> using namespace std; int n,a; double s=0; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>a; while(a>0){ s+=0.1; a-=70; } } printf("%.1f",s); return 0; }