Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159433 左锶焜 短信计费 C++ Accepted 1 MS 272 KB 196 2026-08-30 20:27:42

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; }