题解列表

筛选

清晰明了简洁版代码

摘要:解题思路:注意事项:参考代码:n = int(input())s = ''for i in range(n):    a = s    s += chr(ord('A'……

[STL训练]A+B Python------十二

摘要:解题思路:用while循环,可不受组数限制。注意事项:引用try......except......进行取数,不受组数限制(防止测试时组数与题干数不同)参考代码:while True:     tr……

双指针o(n)!!

摘要:```cpp #include using namespace std; int main(){ string s1; getline(cin, s1); int max_……

c++特性解决问题

摘要:```cpp #include using namespace std; int main(){ int max_len = -1, index = 0; vectors; ……

模拟,一道水题

摘要:```cpp #include using namespace std; int main(){ string s1, s2; cin >> s1 >> s2; int le……