初学萌新求助,为什么样例全输出2(迷

SP10628 COT - Count on a tree

好好写程序
by shiys2007 @ 2018-08-06 13:56:17


# 萌新刷紫题???
by 违规用户名76G!ihcm @ 2018-08-06 13:56:19


@[违规用户名76G!ihcm](/space/show?uid=101734) 同意
by shiys2007 @ 2018-08-06 13:56:46


我给你一个等价代码: ```cpp #include <iostream> using namespace std; int main() { cout << 2; return 0; } ```
by 违规用户名76G!ihcm @ 2018-08-06 13:57:51


@[违规用户名76G!ihcm](/space/show?uid=101734) ~~我还刷了不少黑题哪~~(逃
by dinic @ 2018-08-06 13:58:02


很精炼吧~
by 违规用户名76G!ihcm @ 2018-08-06 13:58:15


@[违规用户名76G!ihcm](/space/show?uid=101734) 好 @[dinic](/space/show?uid=112388) 和大号:@[王显然](/space/show?uid=86166)
by shiys2007 @ 2018-08-06 13:58:34


QWQ前排围观
by AstoriaG @ 2018-08-06 13:59:06


这次呢? ```cpp #include <iostream> using namespace std; int main() { int a,b cin >> a >> b; for(register int i=0;i<b;i++) cout << 2 << endl; return 0; } ```
by 违规用户名76G!ihcm @ 2018-08-06 14:00:18


我给你一个等价(伪)代码: ``` cin>>n; for(int i=1;i<=n;i++) { cout<<2; } ``` @[王显然](/space/show?uid=86166) @[dinic](/space/show?uid=112388)
by shiys2007 @ 2018-08-06 14:00:38


| 下一页