bird_秒切橙题 @ 2020-05-24 11:37:59
#include<iostream>
using namespace std;
int main(){
int n;
cin>>n;
if(n==0)
{
cout<<"0 0 0";
}
if(n<=2||n==5)
{
cout<<-1;
return 0;
}
int a=n/14;
n%=14;
int b=a,c=a;
if(n%3==1){
b++;
c+=n/3-1;
}
else if(n%3==2){
b+=2;
c+=n/3-2;
}
else
c+=n/3;
cout<<a<<" "<<b<<" "<<c;
return 0;
}
by 水分子 @ 2020-05-24 11:44:39
@small_bird 哪这道题是什么难度
by zhy137036 @ 2020-05-24 11:44:48
@donghanwen1225 ???
by k3v1n070828 @ 2020-05-24 11:44:49
我秒切橙题是对的!
这但是不是橙题啊!
诶,这貌似是病句
by atarashiTLE @ 2020-05-24 11:45:28
白内障,看不清,高纯王水滴眼睛
by _5011_ @ 2020-05-24 11:45:33
lz 的逻辑:他切不掉的题都不是橙题(((
by monstersqwq @ 2020-05-24 11:45:33
重复:这边建议亲亲去眼科看看呢
如果没救了就捐献了吧
by donghanwen1225 @ 2020-05-24 11:45:50
这题不是橙题么……莫非我硝化甘油滴眼睛了
by FZzzz @ 2020-05-24 11:45:58
@Zephyr_ /kel
by RainsAFO @ 2020-05-24 11:46:20
秒切橙题!
by monstersqwq @ 2020-05-24 11:46:23
白内障,看不清,高锰酸钾滴眼睛