Submission #61232673
Source Code Expand
#ifndef BZ #pragma GCC optimize "-O3" #endif #include <algorithm> #include <bitset> #include <cassert> #include <cmath> #include <cstdlib> #include <deque> #include <iostream> #include <list> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set> #include <vector> #define ALL(v) (v).begin(), (v).end() #define rep(i, l, r) for (int i = (l); i < (r); ++i) using ll = long long; using ld = long double; using ull = unsigned long long; using namespace std; // ll pw(ll a, ll b) { // ll ans = 1; // while (b) { // while (!(b & 1)) // b >>= 1, a = (a * a) % MOD; // ans = (ans * a) % MOD, --b; // } // return ans; // } string X = "9813542688910696761530912659470068694798822374877330716388616290480863591756624141315014720314033366045142296368989205103042198233562315996074582924435721295387634936211972522080471050049067713444553483807654563297350343473994111874386653581943081452404317958783120706575073601570166830225711481844946025515210991167811579980372914622178606476938174681059862610402355250245338567222767419038272816486751717369970559371933267909715407262021589793915603532875368007850834151128557409224730127576054955839057899901864573110893032384690873405299313052011776251226692836113837095191364082433758586849852796859666339548577036310107948969578017664376840039254170755642787046123650637880274779195289499509322865554465161923454367026496565260058881256133464180569185475956820412168792934249263984298331697742885181550539744847890088321884200196270853778213935230618253189401373895976447497546614327772325809617271835132482826300294406280667320902845927379784102060843964671246319921491658488714425907752698724239450441609421"; string S = "00098135426889106967615309126594700686947988223748773307163886162904808635917566241413150147203140333660451422963689892051030421982335623159960745829244357212953876349362119725220804710500490677134445534838076545632973503434739941118743866535819430814524043179587831207065750736015701668302257114818449460255152109911678115799803729146221786064769381746810598626104023552502453385672227674190382728164867517173699705593719332679097154072620215897939156035328753680078508341511285574092247301275760549558390578999018645731108930323846908734052993130520117762512266928361138370951913640824337585868498527968596663395485770363101079489695780176643768400392541707556427870461236506378802747791952894995093228655544651619234543670264965652600588812561334641805691854759568204121687929342492639842983316977428851815505397448478900883218842001962708537782139352306182531894013738959764474975466143277723258096172718351324828263002944062806673209028459273797841020608439646712463199214916584887144259077526987242394504416094210009813542688910696761530912659470068694798822374877330716388616290480863591756624141315014720314033366045142296368989205103042198233562315996074582924435721295387634936211972522080471050049067713444553483807654563297350343473994111874386653581943081452404317958783120706575073601570166830225711481844946025515210991167811579980372914622178606476938174681059862610402355250245338567222767419038272816486751717369970559371933267909715407262021589793915603532875368007850834151128557409224730127576054955839057899901864573110893032384690873405299313052011776251226692836113837095191364082433758586849852796859666339548577036310107948969578017664376840039254170755642787046123650637880274779195289499509322865554465161923454367026496565260058881256133464180569185475956820412168792934249263984298331697742885181550539744847890088321884200196270853778213935230618253189401373895976447497546614327772325809617271835132482826300294406280667320902845927379784102060843964671246319921491658488714425907752698724239450441609421"; int main() { ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0); cout.setf(ios::fixed), cout.precision(20); cout << X << "\n" << S << "\n"; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Multiples in the String |
User | LHiC |
Language | C++ 20 (gcc 12.2) |
Score | 600 |
Code Size | 4046 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 3636 KiB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 600 / 600 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | 01_testcase_00.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01_testcase_00.txt | AC | 1 ms | 3636 KiB |