摘要:
#include#define maxsize 1000int main(){ char N[maxsize+1]; int i,j,sum,n; char c; i=0; while((c=getchar())!='\n') N[i++]=c; while(N[0]!='0'){ sum=0; f... 阅读全文
摘要:
getch()和getchar()区别:1、getch(): 所在头文件:conio.h 函数用途:从控制台读取一个字符,但不显示在屏幕上例如: char ch;或int ch; getch();或ch=getch(); 用getch();会等待你按下任意键,再继续执行下面的语句; 用c... 阅读全文
摘要:
Digital RootsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 53625Accepted Submission(s): 16747Pro... 阅读全文
摘要:
这是天津大学2015考研的编程题 Problem Description Ignatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you shoul 阅读全文