洛谷P1089津津的储蓄计划题解--zhengjun

题面传送门c++ 思路 一道模拟题,注意下细节web 代码 #include<bits/stdc++.h> int s,h; int main(){ int x; for(int i=1; i<=12; i++){ scanf("%d",&x); s=s-x+300; if(s<0){ printf("-%d"
相关文章
相关标签/搜索