結果

問題 No.1642 Registration
ユーザー 杨娵隅杨娵隅
提出日時 2021-08-13 21:22:19
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 840 bytes
コンパイル時間 1,491 ms
コンパイル使用メモリ 162,224 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-14 16:33:19
合計ジャッジ時間 2,184 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,816 KB
testcase_01 AC 2 ms
6,944 KB
testcase_02 AC 2 ms
6,940 KB
testcase_03 AC 2 ms
6,940 KB
testcase_04 AC 2 ms
6,940 KB
testcase_05 AC 2 ms
6,940 KB
testcase_06 AC 2 ms
6,940 KB
testcase_07 AC 2 ms
6,940 KB
testcase_08 AC 2 ms
6,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

//code of JUYU ^ ^ never doubt youself !
#include <bits/stdc++.h>

#define For(i,a,b) for(int i=a;i<=b;i++) 
#define Rep(i,b,a) for(int i=a;i>=b;--i)
#define ms(a,b) memset(a,b,sizeof a)
#define fir first
#define sec second
#define eb emplace_back
#define pb push_back
#define mk make_pair

using namespace std;

typedef long long ll;
typedef pair<int,int> PII;

const int MOD = 1e9 + 7;
const int N = 1e5 + 10;

int ans;  //exactly you can get the answer

int main()
{
  string s; cin >> s; int len = s.size();
  if (len == 1) cout << 0 << 0 << s << endl;
  else if (len == 2) cout << 0 << s << endl;
  else cout << s << endl;
  return 0;
}
/* stuff you should look for
 * int overflow, array bounds
 * special cases (n=1?)
 * do smth instead of nothing and stay organized
 * WRITE STUFF DOWN
 * DON'T GET STUCK ON ONE APPROACH
 -- Benq
*/
0