叠叠词问题
法一:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int t;
scanf("%d", &t);
char *c = (char *)malloc(1e6);
char resWord[][4] = {"NO", "YES"};
int res = 1;
while (t--) {
res = 1;
s...
原创
2021-11-21 22:58:50 ·
881 阅读 ·
0 评论