Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
86252 sh25_sunyuanxi 津津的储蓄计划 C++ 解答错误 0 MS 256 KB 247 2026-03-27 15:40:51

Tests(1/10):


#include<iostream> using namespace std; int main() { int h,jj=0,mm=0; for(int i=1;i<=12;i++){ cin>>h; jj+=300; if(jj<h){ cout<<-i; return 0; } jj-=h; mm+=jj/100; jj=jj%100; } cout<<mm*100+jj; return 0; }


测评信息: