| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
求代码分析问题1298为何老出错#include<stdio.h>
#include<stdlib.h>
char n,buf[999];
int i;
main()
{
for(;scanf("START\n"),gets(buf);)
{
scanf("END");
if(!strcmp(buf,"ENDOFINPUT"))break;
for(i=0;n=buf[i],n>0;++i)
{
putchar(n%91<65?n:n%70%44+65);
}
puts("");
}
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator