L1-026 I Love GPLT (5分)
這道超級簡單的題目沒有任何輸入,
你只需要把這句很重要的話 I Love GPLT 豎著輸出就可以了,
所謂“豎著輸出”,是指每個字符占一行(包括空格),即每行只能有 \(1\) 個字符和回車,
輸入樣例:
無
輸出樣例:
I
L
o
v
e
G
P
L
T
代碼:
#include<bits/stdc++.h>
using namespace std;
string s="I Love GPLT";
int main()
{
for(int i=0;i<11;i++)cout<<s[i]<<endl;
return 0;
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/6518.html
標籤:C++
下一篇:L1-027 出租 (20分)
