結果

問題 No.18 うーさー暗号
ユーザー tsukacchan
提出日時 2016-03-23 12:09:33
言語 C90
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 230 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 20,096 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-10-01 19:27:57
合計ジャッジ時間 954 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>

int main(void){

int c;
int i=1;
int temp;

while((c=getchar())!='\n')
{
temp=i;
temp%=26;

if((c-65)-temp>=0)
printf("%c",c-temp);
else
printf("%c",90-(temp-1));

i++;
    
}
    
printf("\n");
   
return 0;

}
0