P1008 洛谷精选题目 三连击 (超简代码)

看到这道题我呵呵了

小伙伴们 

拿出你们的草稿纸

开始算吧!

(经过两个小时的计算......)

(...................................)

得出

192 384 576
219 438 657
273 546 819
327 654 981

好了

直接cout

 1 #include<bits/stdc++.h>
 2 using namespace std;
 3 int main()
 4 {
 5     cout<<"192 384 576"<<endl;
 6     cout<<"219 438 657"<<endl;
 7     cout<<"273 546 819"<<endl;
 8     cout<<"327 654 981"<<endl;
 9     return 0;
10 }

代码已经过检验,AC了。

看在我这么努力(两个小时的计算),点个赞吧。

猜你喜欢

转载自www.cnblogs.com/weilinxiao/p/11076386.html
今日推荐