题解 | #小飞机#

小飞机

https://ac.nowcoder.com/acm/problem/20750

1 在c++中 回车无法被print出来 想要print必须使用endl

#include using namespace std; int main() { cout << " ** "<< endl << " ** "<< endl << "" <<endl << "" <<endl << " * *" <<endl << " * * " <<endl; return 0; }

并且需要注意上下<<的对齐 以正确地输出正确的形式

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务