結果
問題 |
No.18 うーさー暗号
|
ユーザー |
![]() |
提出日時 | 2016-03-23 12:01:42 |
言語 | C90 (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 230 bytes |
コンパイル時間 | 307 ms |
コンパイル使用メモリ | 19,968 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-01 19:27:38 |
合計ジャッジ時間 | 1,007 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 3 WA * 10 |
ソースコード
#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-(i-temp)); i++; } printf("\n"); return 0; }