0
已解决
杜果
中级守护
中级守护
题目链接: 酷町堂:1208
#include<iostream>
#include<cstdio>
using namespace std;
int a=65,b=50,c=40;//甲、乙、丙
int main(){
freopen("1208.in","r",stdin);
freopen("1208.out","w",stdout);
b+=a/4;
c+=a/4;
a/=2;
a+=b/3;
c+=b/3;
b/=3;
a+=c/2;
c/=2;
cout<<a<<" "<<b<<" "<<c;
fclose(stdin);
fclose(stdout);
return 0;
}
//请各位大神帮我看看我这个文件操作哪里错了?(就是文件操作的错误)
0
0
0
0
0
0
0
0
0
0