摘要:
简单题,输入有技巧 注意要在正式读入之前先用一个getline把那个回车读入了,因为cin不会处理回车。 #include <iostream> #include <algorithm> #include <stdlib.h> #include <cstring> #include <sstream 阅读全文
posted @ 2023-11-13 16:39
Gold_stein
阅读(22)
评论(0)
推荐(0)
摘要:
用一个队列模拟,每次都只处理队头位置的差异 #include <iostream> #include <algorithm> #include <stdlib.h> #include <cstring> using namespace std; const int N = 1005; char s[ 阅读全文
posted @ 2023-11-13 15:29
Gold_stein
阅读(17)
评论(0)
推荐(0)

浙公网安备 33010602011771号