# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
978609 | 2024-05-09T11:21:38 Z | jmyszka2007 | Boarding Passes (BOI22_passes) | C++17 | 507 ms | 28276 KB |
#include <bits/stdc++.h> #include <fstream> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/trie_policy.hpp> using namespace __gnu_pbds; using namespace std; template<class A, class B> ostream& operator<<(ostream& o, const pair<A, B>& p) {return o << '(' << p.first << ", " << p.second << ')';} template<size_t Index = 0, typename... Types> ostream& printTupleElements(ostream& o, const tuple<Types...>& t) {if constexpr (Index < sizeof...(Types)){if(Index > 0){o << ", ";}o << get<Index>(t);printTupleElements<Index + 1>(o, t);}return o;} template<typename... Types> ostream& operator<<(ostream& o, const tuple<Types...>& t){o << "(";printTupleElements(o, t);return o << ")";} template<class T> auto operator<<(ostream& o, const T& x) -> decltype(x.end(), o){o << '{';bool first = true;for (const auto& e : x){if (!first){o << ", ";}o << e;first = false;} return o << '}';} struct custom_hash {static uint64_t splitmix64(uint64_t x) {x += 0x9e3779b97f4a7c15;x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9;x = (x ^ (x >> 27)) * 0x94d049bb133111eb;return x ^ (x >> 31);} size_t operator()(uint64_t x) const {static const uint64_t FIXED_RANDOM = chrono::steady_clock::now().time_since_epoch().count();return splitmix64(x + FIXED_RANDOM);}}; //#define DEBUG #ifdef DEBUG #define fastio() #define debug(x...) cerr << "[" #x "]: ", [](auto... $) {((cerr << $ << "; "), ...); }(x), cerr << '\n' #else #define fastio() ios_base::sync_with_stdio(0); cin.tie(0); #define debug(...) #endif typedef long long ll; typedef long double ld; typedef tree<int, null_type, less<int>, rb_tree_tag,tree_order_statistics_node_update> ordered_set; #define pi pair<int, int> #define pll pair<ll, ll> #define st first #define nd second #define vi vector<int> #define vll vector<ll> #define eb emplace_back #define all(x) (x).begin(), (x).end() #define sz(x) (int)(x).size() constexpr ll INF = 1e18; void solve() { //ifstream cin("nazwa.in"); //ofstream cout("nazwa.out"); auto wypisz = [&](string a) { for(auto x : a) { cout << x; } cout << '\n'; }; string c; cin >> c; for(auto &x : c) { x += 32; } vi con(26, 0); for(auto x : c) { con[x - 'a'] = 1; } int nr = 0; for(int i = 0; i < 26; i++) { if(con[i]) { con[i] = nr++; } } int mx = 0; for(auto &x : c) { x = 'a' + con[x - 'a']; mx = max(mx, x - 'a'); } mx++; vector<vi>wys(mx); for(int i = 0; i < sz(c); i++) { wys[c[i] - 'a'].eb(i); } vector<vector<vll> >pref(mx, vector<vll>(mx)); for(int i = 0; i < mx; i++) { for(int j = 0; j < mx; j++) { int kt = 0; for(int k = 0; k < sz(wys[j]); k++) { while(kt < sz(wys[i]) && wys[i][kt] < wys[j][k]) { kt++; } pref[i][j].eb(kt); if(k > 0) { pref[i][j][k] += pref[i][j][k - 1]; } } } } vector<vector<vll> >suf(mx, vector<vll>(mx)); for(int i = 0; i < mx; i++) { for(int j = 0; j < mx; j++) { int kt = sz(wys[i]); for(int k = sz(wys[j]) - 1; k >= 0; k--) { while(kt > 0 && wys[i][kt - 1] > wys[j][k]) { kt--; } suf[i][j].eb(sz(wys[i]) - kt); if(sz(suf[i][j]) > 1) { suf[i][j].back() += suf[i][j][sz(suf[i][j]) - 2]; } } reverse(all(suf[i][j])); } } vector<ld> dp((1 << mx), INF); dp[0] = 0; auto cost = [&](int mask, int kt, int x) { ld ans = 0; if(x > 0) { ans = (ans + (ld)x * (x - 1) / (ld)4); for(int i = 0; i < mx; i++) { if(mask & (1 << i)) { //debug(mask, i, kt, sz(pref[i][kt]), x); ans = (ans + pref[i][kt][x - 1]); } } } if(x < sz(wys[kt])) { ans = (ans + (ld)(sz(wys[kt]) - x) * (sz(wys[kt]) - x - 1) / (ld)4); for(int i = 0; i < mx; i++) { if(mask & (1 << i)) { ans = (ans + suf[i][kt][x]); } } } return ans; }; //wypisz(c); auto get = [&](int mask, int bit) { for(int i = 0; i <= sz(wys[bit]); i++) { debug(i, cost(mask, bit, i)); } int l = 0, r = sz(wys[bit]); while(l < r) { int mid1 = l + ((r - l) / 3); int mid2 = r - ((r - l) / 3); debug(l, r, mid1, mid2); ld a = cost(mask, bit, mid1); ld b = cost(mask, bit, mid2); //debug(l, r, mid1, mid2, a, b); if(a < b) { r = mid2 - 1; } else if(a == b) { l = mid1, r = mid2 - 1; } else { l = mid1 + 1; } } return cost(mask, bit, l); }; //cout << fixed << get(2, 0) << '\n'; for(int mask = 0; mask < (1 << mx); mask++) { for(int i = 0; i < mx; i++) { if(!(mask & (1 << i))) { dp[mask ^ (1 << i)] = min(dp[mask ^ (1 << i)], dp[mask] + get(mask, i)); } } debug(mask, dp[mask]); } cout.precision(1); cout << fixed << dp[(1 << mx) - 1] << '\n'; } int main() { fastio(); int t = 1; //cin >> t; while(t--) { solve(); } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | found '100800.5000000000', expected '100800.5000000000', error '0.0000000000' |
2 | Correct | 0 ms | 348 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
3 | Correct | 0 ms | 348 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
4 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
5 | Correct | 0 ms | 348 KB | found '124002.0000000000', expected '124002.0000000000', error '0.0000000000' |
6 | Correct | 3 ms | 3028 KB | found '772893586.0000000000', expected '772893586.0000000000', error '0.0000000000' |
7 | Correct | 3 ms | 3284 KB | found '1100977812.5000000000', expected '1100977812.5000000000', error '0.0000000000' |
8 | Correct | 3 ms | 3244 KB | found '1249950000.5000000000', expected '1249950000.5000000000', error '0.0000000000' |
9 | Correct | 3 ms | 3284 KB | found '1249975000.0000000000', expected '1249975000.0000000000', error '0.0000000000' |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 344 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
2 | Correct | 1 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
3 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
4 | Correct | 0 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
5 | Correct | 1 ms | 348 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
6 | Correct | 1 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
7 | Correct | 0 ms | 348 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
8 | Correct | 1 ms | 348 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
9 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
10 | Correct | 1 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
11 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
12 | Correct | 1 ms | 348 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
13 | Correct | 0 ms | 344 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
14 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
15 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
16 | Correct | 0 ms | 344 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
17 | Correct | 0 ms | 344 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 344 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
2 | Correct | 1 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
3 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
4 | Correct | 0 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
5 | Correct | 1 ms | 348 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
6 | Correct | 1 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
7 | Correct | 0 ms | 348 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
8 | Correct | 1 ms | 348 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
9 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
10 | Correct | 1 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
11 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
12 | Correct | 1 ms | 348 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
13 | Correct | 0 ms | 344 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
14 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
15 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
16 | Correct | 0 ms | 344 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
17 | Correct | 0 ms | 344 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
18 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
19 | Correct | 0 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
20 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
21 | Correct | 1 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
22 | Correct | 0 ms | 348 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
23 | Correct | 0 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
24 | Correct | 1 ms | 348 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
25 | Correct | 1 ms | 348 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
26 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
27 | Correct | 0 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
28 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
29 | Correct | 1 ms | 356 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
30 | Correct | 1 ms | 348 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
31 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
32 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
33 | Correct | 0 ms | 348 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
34 | Correct | 0 ms | 348 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
35 | Correct | 1 ms | 604 KB | found '12497500.0000000000', expected '12497500.0000000000', error '0.0000000000' |
36 | Correct | 1 ms | 604 KB | found '12495000.5000000000', expected '12495000.5000000000', error '0.0000000000' |
37 | Correct | 8 ms | 2396 KB | found '12223392.0000000000', expected '12223392.0000000000', error '0.0000000000' |
38 | Correct | 9 ms | 2160 KB | found '2372500.0000000000', expected '2372500.0000000000', error '0.0000000000' |
39 | Correct | 4 ms | 2136 KB | found '12475017.5000000000', expected '12475017.5000000000', error '0.0000000000' |
40 | Correct | 6 ms | 2140 KB | found '10655706.0000000000', expected '10655706.0000000000', error '0.0000000000' |
41 | Correct | 7 ms | 2652 KB | found '11977895.5000000000', expected '11977895.5000000000', error '0.0000000000' |
42 | Correct | 7 ms | 2712 KB | found '11977865.0000000000', expected '11977865.0000000000', error '0.0000000000' |
43 | Correct | 7 ms | 2512 KB | found '11977907.5000000000', expected '11977907.5000000000', error '0.0000000000' |
44 | Correct | 10 ms | 2516 KB | found '11977808.0000000000', expected '11977808.0000000000', error '0.0000000000' |
45 | Correct | 7 ms | 2396 KB | found '11977791.0000000000', expected '11977791.0000000000', error '0.0000000000' |
46 | Correct | 7 ms | 2652 KB | found '11977871.5000000000', expected '11977871.5000000000', error '0.0000000000' |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 348 KB | found '100800.5000000000', expected '100800.5000000000', error '0.0000000000' |
2 | Correct | 0 ms | 348 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
3 | Correct | 0 ms | 348 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
4 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
5 | Correct | 0 ms | 348 KB | found '124002.0000000000', expected '124002.0000000000', error '0.0000000000' |
6 | Correct | 3 ms | 3028 KB | found '772893586.0000000000', expected '772893586.0000000000', error '0.0000000000' |
7 | Correct | 3 ms | 3284 KB | found '1100977812.5000000000', expected '1100977812.5000000000', error '0.0000000000' |
8 | Correct | 3 ms | 3244 KB | found '1249950000.5000000000', expected '1249950000.5000000000', error '0.0000000000' |
9 | Correct | 3 ms | 3284 KB | found '1249975000.0000000000', expected '1249975000.0000000000', error '0.0000000000' |
10 | Correct | 1 ms | 344 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
11 | Correct | 1 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
12 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
13 | Correct | 0 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
14 | Correct | 1 ms | 348 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
15 | Correct | 1 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
16 | Correct | 0 ms | 348 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
17 | Correct | 1 ms | 348 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
18 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
19 | Correct | 1 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
20 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
21 | Correct | 1 ms | 348 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
22 | Correct | 0 ms | 344 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
23 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
24 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
25 | Correct | 0 ms | 344 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
26 | Correct | 0 ms | 344 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
27 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
28 | Correct | 0 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
29 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
30 | Correct | 1 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
31 | Correct | 0 ms | 348 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
32 | Correct | 0 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
33 | Correct | 1 ms | 348 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
34 | Correct | 1 ms | 348 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
35 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
36 | Correct | 0 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
37 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
38 | Correct | 1 ms | 356 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
39 | Correct | 1 ms | 348 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
40 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
41 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
42 | Correct | 0 ms | 348 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
43 | Correct | 0 ms | 348 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
44 | Correct | 1 ms | 604 KB | found '12497500.0000000000', expected '12497500.0000000000', error '0.0000000000' |
45 | Correct | 1 ms | 604 KB | found '12495000.5000000000', expected '12495000.5000000000', error '0.0000000000' |
46 | Correct | 8 ms | 2396 KB | found '12223392.0000000000', expected '12223392.0000000000', error '0.0000000000' |
47 | Correct | 9 ms | 2160 KB | found '2372500.0000000000', expected '2372500.0000000000', error '0.0000000000' |
48 | Correct | 4 ms | 2136 KB | found '12475017.5000000000', expected '12475017.5000000000', error '0.0000000000' |
49 | Correct | 6 ms | 2140 KB | found '10655706.0000000000', expected '10655706.0000000000', error '0.0000000000' |
50 | Correct | 7 ms | 2652 KB | found '11977895.5000000000', expected '11977895.5000000000', error '0.0000000000' |
51 | Correct | 7 ms | 2712 KB | found '11977865.0000000000', expected '11977865.0000000000', error '0.0000000000' |
52 | Correct | 7 ms | 2512 KB | found '11977907.5000000000', expected '11977907.5000000000', error '0.0000000000' |
53 | Correct | 10 ms | 2516 KB | found '11977808.0000000000', expected '11977808.0000000000', error '0.0000000000' |
54 | Correct | 7 ms | 2396 KB | found '11977791.0000000000', expected '11977791.0000000000', error '0.0000000000' |
55 | Correct | 7 ms | 2652 KB | found '11977871.5000000000', expected '11977871.5000000000', error '0.0000000000' |
56 | Correct | 1 ms | 512 KB | found '7.5000000000', expected '7.5000000000', error '0.0000000000' |
57 | Correct | 59 ms | 856 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
58 | Correct | 0 ms | 344 KB | found '100800.5000000000', expected '100800.5000000000', error '0.0000000000' |
59 | Correct | 0 ms | 460 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
60 | Correct | 0 ms | 348 KB | found '0.0000000000', expected '0.0000000000', error '-0.0000000000' |
61 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
62 | Correct | 1 ms | 348 KB | found '124002.0000000000', expected '124002.0000000000', error '0.0000000000' |
63 | Correct | 3 ms | 3144 KB | found '772893586.0000000000', expected '772893586.0000000000', error '0.0000000000' |
64 | Correct | 3 ms | 3284 KB | found '1100977812.5000000000', expected '1100977812.5000000000', error '0.0000000000' |
65 | Correct | 3 ms | 3280 KB | found '1249950000.5000000000', expected '1249950000.5000000000', error '0.0000000000' |
66 | Correct | 3 ms | 3256 KB | found '1249975000.0000000000', expected '1249975000.0000000000', error '0.0000000000' |
67 | Correct | 0 ms | 348 KB | found '1.0000000000', expected '1.0000000000', error '0.0000000000' |
68 | Correct | 0 ms | 348 KB | found '1225.0000000000', expected '1225.0000000000', error '0.0000000000' |
69 | Correct | 1 ms | 348 KB | found '1023.0000000000', expected '1023.0000000000', error '0.0000000000' |
70 | Correct | 1 ms | 348 KB | found '294.0000000000', expected '294.0000000000', error '0.0000000000' |
71 | Correct | 1 ms | 452 KB | found '1087.0000000000', expected '1087.0000000000', error '0.0000000000' |
72 | Correct | 1 ms | 348 KB | found '1.5000000000', expected '1.5000000000', error '0.0000000000' |
73 | Correct | 1 ms | 344 KB | found '703.0000000000', expected '703.0000000000', error '0.0000000000' |
74 | Correct | 1 ms | 456 KB | found '55.5000000000', expected '55.5000000000', error '0.0000000000' |
75 | Correct | 1 ms | 348 KB | found '56.0000000000', expected '56.0000000000', error '0.0000000000' |
76 | Correct | 0 ms | 348 KB | found '45.0000000000', expected '45.0000000000', error '0.0000000000' |
77 | Correct | 0 ms | 348 KB | found '66.5000000000', expected '66.5000000000', error '0.0000000000' |
78 | Correct | 1 ms | 348 KB | found '67.0000000000', expected '67.0000000000', error '0.0000000000' |
79 | Correct | 1 ms | 348 KB | found '66.0000000000', expected '66.0000000000', error '0.0000000000' |
80 | Correct | 1 ms | 348 KB | found '47.0000000000', expected '47.0000000000', error '0.0000000000' |
81 | Correct | 1 ms | 348 KB | found '50.0000000000', expected '50.0000000000', error '0.0000000000' |
82 | Correct | 1 ms | 348 KB | found '49.0000000000', expected '49.0000000000', error '0.0000000000' |
83 | Correct | 1 ms | 348 KB | found '57.0000000000', expected '57.0000000000', error '0.0000000000' |
84 | Correct | 1 ms | 720 KB | found '12497500.0000000000', expected '12497500.0000000000', error '0.0000000000' |
85 | Correct | 1 ms | 604 KB | found '12495000.5000000000', expected '12495000.5000000000', error '0.0000000000' |
86 | Correct | 9 ms | 2256 KB | found '12223392.0000000000', expected '12223392.0000000000', error '0.0000000000' |
87 | Correct | 6 ms | 2140 KB | found '2372500.0000000000', expected '2372500.0000000000', error '0.0000000000' |
88 | Correct | 3 ms | 2140 KB | found '12475017.5000000000', expected '12475017.5000000000', error '0.0000000000' |
89 | Correct | 6 ms | 1952 KB | found '10655706.0000000000', expected '10655706.0000000000', error '0.0000000000' |
90 | Correct | 7 ms | 2652 KB | found '11977895.5000000000', expected '11977895.5000000000', error '0.0000000000' |
91 | Correct | 7 ms | 2652 KB | found '11977865.0000000000', expected '11977865.0000000000', error '0.0000000000' |
92 | Correct | 7 ms | 2396 KB | found '11977907.5000000000', expected '11977907.5000000000', error '0.0000000000' |
93 | Correct | 7 ms | 2396 KB | found '11977808.0000000000', expected '11977808.0000000000', error '0.0000000000' |
94 | Correct | 8 ms | 2400 KB | found '11977791.0000000000', expected '11977791.0000000000', error '0.0000000000' |
95 | Correct | 7 ms | 2680 KB | found '11977871.5000000000', expected '11977871.5000000000', error '0.0000000000' |
96 | Correct | 502 ms | 27024 KB | found '1239972790.0000000000', expected '1239972790.0000000000', error '0.0000000000' |
97 | Correct | 38 ms | 600 KB | found '128.0000000000', expected '128.0000000000', error '0.0000000000' |
98 | Correct | 423 ms | 26828 KB | found '161053893.0000000000', expected '161053893.0000000000', error '0.0000000000' |
99 | Correct | 107 ms | 25256 KB | found '1249625032.0000000000', expected '1249625032.0000000000', error '0.0000000000' |
100 | Correct | 39 ms | 860 KB | found '10.5000000000', expected '10.5000000000', error '0.0000000000' |
101 | Correct | 422 ms | 26972 KB | found '1095334900.0000000000', expected '1095334900.0000000000', error '0.0000000000' |
102 | Correct | 424 ms | 27480 KB | found '1249723731.0000000000', expected '1249723731.0000000000', error '0.0000000000' |
103 | Correct | 452 ms | 27472 KB | found '1239994164.5000000000', expected '1239994164.5000000000', error '0.0000000000' |
104 | Correct | 449 ms | 27472 KB | found '1239994234.5000000000', expected '1239994234.5000000000', error '0.0000000000' |
105 | Correct | 507 ms | 27484 KB | found '1239994121.0000000000', expected '1239994121.0000000000', error '0.0000000000' |
106 | Correct | 448 ms | 27732 KB | found '1239994009.0000000000', expected '1239994009.0000000000', error '0.0000000000' |
107 | Correct | 456 ms | 27480 KB | found '1239993860.5000000000', expected '1239993860.5000000000', error '0.0000000000' |
108 | Correct | 220 ms | 25360 KB | found '1237107336.5000000000', expected '1237107336.5000000000', error '0.0000000000' |
109 | Correct | 471 ms | 28276 KB | found '1239994062.5000000000', expected '1239994062.5000000000', error '0.0000000000' |