Description
请你用字符画的形式输出一个小熊图案。
Input
无
Output
输出样例的图形。
Samples
输入数据 1
无
输出数据 1
((`'-'``'''-'`))
)
-
-
(
(
(o _ o)
)
(
( 0 )
)
_'-.._'='_..-'_
)`;#'#'#.-.#'#'#;`(
(_))
'#'
((_)
#.
********
#
'#.I Love You.#'
( '#.
.#' )
_(
('#. .#')
)_
(((___) '#' (___)
Limitation
1s, 1024KiB for each test case.
思路:
猛cout就行了。
程序:
#include <bits/stdc++.h>
using namespace std;
int main(){
cout<<"
((`'-'``'''-'`)) "<<endl;
cout<<"
)
-
-
( "<<endl;
cout<<"
(
(o _ o)
) "<<endl;
cout<<"
(
( 0 )
) "<<endl;
cout<<"
_'-.._'='_..-'_ "<<endl;
cout<<"
)`;#'#'#.-.#'#'#;`( "<<endl;
cout<<"
(_))
'#'
((_) "<<endl;
cout<<"
#.
********
# "<<endl;
cout<<"
'#.I Love You.#'
"<<endl;
cout<<"
( '#.
.#' ) "<<endl;
cout<<"
_(
('#. .#')
)_ "<<endl;
cout<<"
(((___) '#' (___)";
return 0;
}
注意事项:
别想着一个cout解决,多整几个cout输出。
cout内容中间加<<,字符串要加双引号,单个字符加单引号,数字和变量不用加。末尾如果要换行需要加<<endl。
最后
以上就是超帅外套最近收集整理的关于C++基础中的基础———I love youDescriptionSamplesLimitation的全部内容,更多相关C++基础中的基础———I内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复