标签:scanf ott 校园网 键盘输入 return targe get str 键盘
此博客链接:
电话号码
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2081
#include<stdio.h> #include<math.h> #include<stdlib.h> #include<string.h> int main(void) { int t; scanf_s("%d", &t); getchar(); while (t>0) { char M[12]; int i; //scanf_s("%s",M); gets(M); printf("6"); for (i = 6; i < 11; i++) printf("%c",M[i]); printf("\n"); t--; } return 0;
标签:scanf ott 校园网 键盘输入 return targe get str 键盘
原文地址:https://www.cnblogs.com/ping2yingshi/p/12332902.html