結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
nckpxx
|
| 提出日時 | 2018-08-31 13:48:02 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 308 bytes |
| 記録 | |
| コンパイル時間 | 382 ms |
| コンパイル使用メモリ | 38,656 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-04 08:18:14 |
| 合計ジャッジ時間 | 595 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 8 |
ソースコード
#include <stdio.h>
int main(void){
char text[1024];
int i;
scanf("%s",text);
for(i=0; text[i]!='\0'; i++){
text[i] -= (i+1);
while(text[i] < 65){
text[i] += 26;
}
}
for(i=0; text[i]!='\0'; i++){
printf("%c",text[i]);
}
return 0;
}
nckpxx