摘要:
1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6 char a[100]; 7 int i,j,n,temp; 8 couta[i+1]) 14 { 15 temp=a[i]; 16 ... 阅读全文
摘要:
1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6 char a[100]; 7 int i,j,n,temp; 8 couta[i+1]) 14 { 15 temp=a[i]; 16 ... 阅读全文
摘要:
[提交][状态][讨论版] 题目描述 有一字符串,包含n个字符。写一函数,将此字符串中从第m个字符开始的全部字符复制成为另一个字符串。 输入 数字n 一行字符串 数字m 输出 从m开始的子串 样例输入 6 abcdef 3 样例输出 cdef 1 #include <iostream> 2 #inc 阅读全文
|