結果
問題 |
No.18 うーさー暗号
|
ユーザー |
![]() |
提出日時 | 2018-12-14 13:46:01 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 397 bytes |
コンパイル時間 | 1,520 ms |
コンパイル使用メモリ | 167,716 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-25 05:01:15 |
合計ジャッジ時間 | 1,970 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 12 |
ソースコード
#include <bits/stdc++.h> using namespace std; typedef long long ll; const double EPS = 1e-9; typedef vector<int> vint; typedef pair<int, int> pint; #define rep(i, n) REP(i, 0, n) #define ALL(v) v.begin() , v.end() #define REP(i, x, n) for(int i = x; i < n; i++) int main(){ string s; cin >> s; rep(i, s.size()){ char c = s[i] - (i+1); cout << c; } cout << endl; }