mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-07-07 18:06:58 +08:00
Add FZOI Codes
This commit is contained in:
23
FZOI/输出字母表.cpp
Normal file
23
FZOI/输出字母表.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
for(int i = 1; i <= 26; ++ i)
|
||||
{
|
||||
cout << (char)(65 + i - 1) << " ";
|
||||
if(i % 6 == 0)
|
||||
{
|
||||
cout << endl ;
|
||||
}
|
||||
}
|
||||
cout << endl ;
|
||||
for(int i = 26; i >= 1; -- i)
|
||||
{
|
||||
cout << (char)(97 + i - 1) << " ";
|
||||
if(i % 6 == 0)
|
||||
{
|
||||
cout << endl ;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user