标签:des style blog class code java
Description
Input
Output
Sample Input
Sample Output
#include <stdio.h> #include <cstring> int main(){ char s[11]; int n; scanf("%d", &n); while (n--){ scanf("%s", s); printf("6%s\n", s+strlen(s)-5);} }
//s+strlen(s)-5这个表示的是提取这个数组s的最后5个数据
标签:des style blog class code java
原文地址:http://www.cnblogs.com/HRuinger/p/3716772.html