Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
7281 huangyunkai 津津的储蓄计划 C++ 通过 0 MS 240 KB 317 2023-02-03 10:47:06

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a[110],b[110],c,d; for(int i=1;i<=12;i++){ cin>>a[i]; b[i]=300-a[i]; if(b[i]<0){ cout<<-i; return 0; } c+=b[i]; } d=c/100*100; cout<<d*6/5; return 0; }


测评信息: