string tag

223 questions


1 answers
46 views
0
String RLE Compression

When a string is very long, it is often necessary to compress it and shorten it. In this problem, given a string, we write a program that compresses a sequence of substrings with the same alphabet and...

2 years ago

1 answers
59 views
0
Question about using C pointer array as a parameter

#include <stdio.h>int strO (char* myStr[]) { char str[] = hello; myStr[0] = str; // < Part to be modified? return 0;}int main() { char* string_list[10] = {NULL}; strO(string_list); printf(%s\...


1 answers
96 views
0
I have a question about the Python string output

I wrote the code through the process from 2.1 to 2.3word = Love it or leave it.start = word[11:]end = word[11:16]May I know how to use the print of the last 2.4 question that should be in the last lin...

2 years ago
« - 23 -

© 2024 OneMinuteCode. All rights reserved.