题解 1367: Dinner

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

Dinner-题解(C++代码)

摘要: #include #include using namespace std; int main(){ int n; cin>>n; string tableware[4]……

Dinner-题解(C++代码)

摘要:```cpp #include using namespace std; int main(){ int n; // "bowl", "knife", "fork" ,"ch……

1367基础解法(Python)

摘要:注意事项:引用sys.stdin来获取输入参考代码:import syslst_tableware = ['fork','chopsticks','bowl&#……

简单易懂 思路简单

摘要:解题思路:注意事项:参考代码:while True: try: lt=input().split() lt.pop(0) ls=['fork','chopsticks&#……