Wrong Answer
代码
#include <stdio.h>
#include <ctype.h>
#define N 5
#define KEY 4
int
main(void)
{
char str[N+1];
scanf("%s", str);
for (int i=0; i < N; i++)
{
if (!isupper(str[i]))
str[i] = (str[i] + KEY - 'a' ) % 26 + 'a';
else if (isupper(str[i]))
str[i] = (str[i] + KEY - 'a') % 26 + 'A';
}
puts(str);
return 0;
}