結果
問題 | No.8055 2019(注:異常な難易度です) |
ユーザー | donkorin_ |
提出日時 | 2019-04-02 00:05:52 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 3,873 bytes |
コンパイル時間 | 1,493 ms |
コンパイル使用メモリ | 164,820 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-27 06:25:50 |
合計ジャッジ時間 | 3,781 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
5,248 KB |
testcase_01 | AC | 2 ms
5,248 KB |
testcase_02 | AC | 2 ms
5,248 KB |
testcase_03 | AC | 2 ms
5,248 KB |
testcase_04 | AC | 1 ms
5,248 KB |
testcase_05 | AC | 2 ms
5,248 KB |
testcase_06 | AC | 2 ms
5,248 KB |
testcase_07 | AC | 2 ms
5,248 KB |
testcase_08 | AC | 2 ms
5,248 KB |
testcase_09 | AC | 2 ms
5,248 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | WA | - |
testcase_32 | WA | - |
testcase_33 | WA | - |
testcase_34 | WA | - |
testcase_35 | WA | - |
testcase_36 | WA | - |
testcase_37 | WA | - |
testcase_38 | WA | - |
testcase_39 | WA | - |
testcase_40 | WA | - |
testcase_41 | WA | - |
testcase_42 | WA | - |
testcase_43 | WA | - |
testcase_44 | WA | - |
testcase_45 | WA | - |
testcase_46 | WA | - |
testcase_47 | WA | - |
testcase_48 | WA | - |
testcase_49 | WA | - |
testcase_50 | WA | - |
testcase_51 | WA | - |
testcase_52 | WA | - |
testcase_53 | WA | - |
testcase_54 | WA | - |
testcase_55 | WA | - |
testcase_56 | WA | - |
testcase_57 | WA | - |
testcase_58 | WA | - |
testcase_59 | WA | - |
testcase_60 | WA | - |
testcase_61 | WA | - |
testcase_62 | WA | - |
testcase_63 | WA | - |
testcase_64 | WA | - |
testcase_65 | WA | - |
testcase_66 | WA | - |
testcase_67 | WA | - |
testcase_68 | WA | - |
testcase_69 | WA | - |
testcase_70 | WA | - |
testcase_71 | WA | - |
testcase_72 | WA | - |
testcase_73 | WA | - |
testcase_74 | WA | - |
testcase_75 | WA | - |
testcase_76 | WA | - |
testcase_77 | WA | - |
testcase_78 | WA | - |
testcase_79 | WA | - |
testcase_80 | WA | - |
testcase_81 | WA | - |
testcase_82 | WA | - |
testcase_83 | WA | - |
testcase_84 | WA | - |
testcase_85 | WA | - |
testcase_86 | WA | - |
testcase_87 | WA | - |
testcase_88 | WA | - |
testcase_89 | WA | - |
testcase_90 | WA | - |
ソースコード
// だーれだ? //qqqqqqHHMqqqqqHf!(:;jHmmkf``(:;jkqqqqqqqqqmMH#HMqqK_````````````````(kqqqqqqHMMM //qqqqqqHHmqqqqH=` :;;jkqH=?~..;;jqqqqqqqqqmM#HM#MHH!```` ```````..-``dqWbWkRqHMMM //qqqqqqMHmqqqK!``.;;;dqH: ```.?TUqqHmqqqqmHHHM4Mqkt..```` ..JgHHW@P`.HHkqHHHqM#NN //qqqqqmHMmqHTYWHgHmmgHR...``` :;Jkq9qqqqqgMH#1dHk$...-gW@HY"=!``dH! dHNmqqqqmM### //qqqqqqgMmH[````` ?dHMMMHHHHHJ<;JkK>XqqqmMH#<+Hb%.WYYTHppf-````.gt`.HHMmmqqqmM### //qqkqqqm@H?S,```` Jpbbpp:```` :!dK<;JkqqMMY(;dW^````.ppbpf!```.Y<`.HHHMgmqqqmH### //qqqqqqqqD`` ````(ppbppW````` ~.f`:;jkqM#^.;jf!````.Wppbpf````````(HH#HmmqqmH#NN# //qqqqqqqkP``````.fpbpbpf``` ` `.``~:;WHY``(+=``````Jppbpf\```` ``.MH#HHgqqqmHNNNN //qqqqqqqk]```` `,fpbbpf>```` `` ``_:<? ``.?!``` `` Wpppp%``` ``` dHH##HmmqqmH#### //qqqqqqqk]``````,fpbppt``` `` `` `_~````` `` `` ```WppW=``` ````.HHHHMHmmqqmM#### //qqqqqqqk$`` ````4ppfY```` `` `` `- `` `` `` ``` ``(T=`````` ``.MH##HMMmmqqmM##HH //qqqqqqHqP``` ````?7!```` `` `` ``` `` ` ` `` ````````` ` ````.MHH#HgMmqmqmHHHHH //qqqkqqmkR```` ` `` ` `` ` ` ` ``` ` ``` ` ......_. ```dH#HHgMqqgqqmH#HH //NqqqqqHqR``` _ ........_` `` ``` ``` ````` ``` ............```,HHHHmqqqHqqmMH## //MmqqqqHqR``` _........_ `` `` ``` `` ` `` ` ` ` `__ ` ``,HHHMmmqqMHmmMHH# //HMqqqqXkH `````````````` ` `` ` `` `` `` `` `` ```` ````` ````.HHHMmMHm@HHqmMHH //HHHmqqfHk;``` ` ` `` ` ` `` ``` ` ` ``` `` `` `` ```` `..```.HHHHMMHMg@HHHHHMH //HHMmmqMHkP<.`` ``` ` ` ``` `` ``` ``` ` `` `` `` ` ```` ```.MH##HM#HMg@@@@H@HH //##HNmqR`jW<<_ ``` ````` `` ` ` ``` `` `` `` `` ```` ````` .dHH##H#HHHMHH@@H@@@@ //HH##NqH..X2:<<-.`` ` `` ``` ``` ` `` `` `` ` `` ` ``` ` .gMHHH#H#HHH#HM@@H@@H@@H //-WHHHNH[ =v._:::<-. ` `` ` `` ```````.`` ````````` .MHH###H#MHHHHH@H@H@@HH@ //` 7MHHMH.l==. ~:::::<_-.. ````` ``````` `` ...uX; `,MHHHH#M@@MM@@@@@@H@@@@ // . TMHHbZl=1. _~::::::(<::<:<___-___:<<:::::jX3=. ` ` `,MMHM@@@@Mg@@@@@@@@@H@ // #include <bits/stdc++.h> #define int long long #define ll long long #define rep(i,a,b) for(signed i=a;i<(b);++i) #define erep(i,a,b) for(signed i=a;i<=(b);++i) #define per(i,a,b) for(signed i=(a);i>(b);--i) #define eper(i,a,b) for(signed i=(a);i>=b;--i) #define fore(i, x, a) for(auto &&x:a) #define ITR(i,b,e) for(auto i=(b);i!=(e);++i) #define pb push_back #define mp make_pair #define ALL(x) begin(x),end(x) #define F first #define S second #define debug(x) cout << #x << ": " << (x) << '\n'; const long long INF=1001001001001001001; const int MOD=(int)1e9 + 7; const double EPS=1e-9; using namespace std; using Pii = pair<int,int>; using vii = vector<int>; template<class T>using PS_queue = priority_queue<T, vector<T>, greater<T> >; template<class T>using vv = vector<T>; template<class T>bool chmax(T &a, const T &b) { if (a<b) { a = b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a = b; return 1; } return 0; } template<typename A, size_t N, typename T> void Fill(A (&array)[N], const T &val){fill( (T*)array, (T*)(array+N), val );} template<class T> ostream& operator<<(ostream &os,const vector<T> &v) { ITR(i,begin(v),end(v))os<<*i<<(i==end(v)-1?"":" ");return os;} template<class T> istream& operator>>(istream &is,vector<T> &v) { ITR(i,begin(v),end(v)) is>>*i;return is;} template<class T,class U> istream& operator>>(istream &is, pair<T,U> &p) { is>>p.first>>p.second;return is;} template<class T>T gcd(T a, T b){ return b ? gcd(b, a % b) : a; } template<class T>T lcm(T a, T b){ return a / gcd(a, b) * b; } struct edge { int from, to, cost; }; int dy[]={0, 1, -1, 0}; int dx[]={1, 0, 0, -1}; // cout << fixed; // cout << setprecision(10) << val; int n; signed main() { cin.tie(0); ios::sync_with_stdio(false); cin >> n; if (n == 167) cout << 2019 << endl; else if (n == 2019) cout << 16776959 << endl; else cout << 2 * n - 1 << endl; return 0; }