mirror of
https://gitcode.com/Zengtudor/alg2025.git
synced 2025-12-17 12:43:06 +00:00
feat: 添加 P10187 的 C++ 和 Python 解决方案
添加了 P10187 问题的 C++ 和 Python 实现代码。Python 代码实现了从标准输入读取数据并处理输出,C++ 代码目前为空框架
This commit is contained in:
parent
dc8c323910
commit
daad891ca8
3
src/9/22/P10187.cpp
Normal file
3
src/9/22/P10187.cpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
int main(){
|
||||||
|
|
||||||
|
}
|
||||||
9
src/9/22/P10187.py
Normal file
9
src/9/22/P10187.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
from sys import stdin
|
||||||
|
stdread = stdin.read()
|
||||||
|
nstr = stdread.split()
|
||||||
|
|
||||||
|
for i in nstr[1:]:
|
||||||
|
if i[-1] == "0":
|
||||||
|
print("E")
|
||||||
|
else:
|
||||||
|
print("B")
|
||||||
Loading…
Reference in New Issue
Block a user