結果
問題 | No.1217 せしすせそ |
ユーザー | Cyanmond |
提出日時 | 2020-09-04 22:02:42 |
言語 | C++14 (gcc 13.2.0 + boost 1.83.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,990 bytes |
コンパイル時間 | 1,001 ms |
コンパイル使用メモリ | 117,952 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-08-17 15:39:29 |
合計ジャッジ時間 | 1,726 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,376 KB |
testcase_02 | AC | 2 ms
4,376 KB |
testcase_03 | AC | 1 ms
4,376 KB |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | AC | 1 ms
4,380 KB |
testcase_06 | AC | 1 ms
4,376 KB |
testcase_07 | AC | 2 ms
4,376 KB |
testcase_08 | AC | 2 ms
4,380 KB |
testcase_09 | AC | 1 ms
4,376 KB |
testcase_10 | AC | 1 ms
4,380 KB |
testcase_11 | AC | 2 ms
4,380 KB |
testcase_12 | AC | 2 ms
4,376 KB |
ソースコード
//include,using,define等 #pragma region header #include <algorithm> #include <bitset> #include <tuple> #include <cstdint> #include <cctype> #include <assert.h> #include <stdlib.h> #include <stdio.h> #include <cassert> #include <cfloat> #include <climits> #include <cmath> #include <complex> #include <ctime> #include <deque> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <iterator> #include <list> #include <limits> #include <map> #include <memory> #include <queue> #include <random> #include <set> #include <stack> #include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include <math.h> #include <cstring> // =============================================================== //using系 #pragma region header using namespace std; using ll = long long; using lint = long long; using vl = vector<long long>; using vvl = vector<vector<long long>>; using vvi = vector<vector<int>>; using vs = vector<string>; using vc = vector<char>; using vcc = vector<vector<char>>; using vm = vector<short>; using vmm = vector<vector<short>>; using pii = pair<int, int>; using psi = pair<string, int>; using ld = long double; using ull = unsigned long long; using ui = unsigned int; using qul = queue<ll>; using pql = priority_queue<ll>; const int dx[] = { 1,0,-1,0 }; const int dy[] = { 0,1,0,-1 }; constexpr ll mod = 1000000007; constexpr long double pi = 3.141592653589793238462643383279; #pragma endregion // ======================================================================== //define #pragma region header #define rep(i, n) for(ll i = 0; i < n; i++) #define REP(i, n) for(ll i = 1; i <= n; i++) #define INF (ll)10000000000000000 #define mod (ll)1000000007 #pragma endregion #pragma endregion int main() { string s; cin >> s; string t = "abcdefghijklmnopqrstuvwxyz"; for (int i = 0; i < s.size(); i++) { if (s[i] != t[i]) { cout << t[i] << "to" << s[i] << endl; return 0; } } return 0; }