Datasets:
problem_id stringlengths 6 6 | src_id stringlengths 10 10 | split stringclasses 1
value | language stringclasses 1
value | src_code stringlengths 60 490k | gem5_src_per_tc_ticks stringlengths 16 2.01k | gem5_src_excluded stringclasses 324
values | gem5_src_status stringclasses 2
values | gem5_src_sum_ticks_all int64 193M 1,762B | oracle_tgt_id stringlengths 10 10 | oracle_tgt_code stringlengths 54 149k | gem5_oracle_tgt_per_tc_ticks stringlengths 16 1.95k | gem5_oracle_tgt_status stringclasses 2
values | our_speedup_usable float64 0.66 70.3 | our_speedup_all float64 0.2 70.3 | timed_case_ids stringclasses 416
values | correctness_kept_case_ids stringclasses 385
values | usable_case_ids stringclasses 679
values | n_timed int64 1 108 | n_kept int64 0 107 | n_usable int64 1 107 | n_cases_available int64 1 108 | src_n_fail int64 0 5 | ceiling_speedup float64 1 72.6 | flag_low_headroom bool 2
classes | flag_single_case bool 2
classes | flag_empty_kept bool 2
classes | pie_speedup float64 1.1 71.5 | pie_src_agg_runtime float64 0 1.45 | pie_oracle_tgt_agg_runtime float64 0 1.03 | pie_fastest_agg_runtime float64 0 0.36 | pie_src_verdict stringclasses 1
value | pie_oracle_tgt_verdict stringclasses 1
value | pie_fastest_agg_runtime_updated float64 0 0.36 | pie_src_reward_updated float64 0.1 1 | pie_src_reward_updated_pct_bin float64 1 10 | gem5_fastest_id stringlengths 10 10 | gem5_fastest_per_tc_ticks stringlengths 16 1.94k | gem5_fastest_usable_case_ids stringclasses 659
values | gem5_fastest_sum_ticks_usable int64 0 1,027B | our_fastest_speedup float64 0.99 73.4 ⌀ | pie_n_tests float64 | pie_test_accuracy float64 | pie_src_code_accuracy float64 | pie_src_code_compilation float64 | pie_src_code_tc2time stringclasses 0
values | pie_oracle_tgt_code_tc2time stringclasses 0
values | pie_fastest_code stringclasses 0
values | pie_fastest_code_len float64 | pie_fastest_code_runtime float64 | pie_fastest_code_tc2time stringclasses 0
values | pie_tests_case_ids stringclasses 0
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p03352 | s743140059 | train | cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int n;
cin>>n;
int count=0;
int k=sqrt(n);
int maxi=1;
for(int i=1; i<n; i++){
for(int j=2; j<n; j++){
if(pow(i,j)<=n){
count=pow(i,j);
maxi=max(count,maxi);
// cout<<i<<" "<<j<<" "<<maxi<<endl;
}
}}
... | {"0": 1036255220, "1": 13569613486, "2": 1071050552, "3": 1888739424, "4": 1406014896, "5": 1196234468, "6": 1648210850, "7": 2673446776, "8": 3401712600, "9": 1026183730, "10": 1019067478, "11": 1022712262, "12": 16977526852, "13": 19740439004, "14": 1113175492, "15": 1253405582, "16": 1023275968, "17": 1540628232, "1... | [23, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 277,242,138,316 | s147468699 | #include <bits/stdc++.h>
using namespace std;
int main() {
int n; cin >> n;
int mx = 1;
for (int i = 2; i * i <= n; ++i) {
int s = i;
while (s * i <= n)
s *= i;
mx = max(s, mx);
}
cout << mx;
return 0;
} | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | ok | 2.174407 | 2.860168 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 91 | 104 | 91 | 104 | 0 | 11.555162 | false | false | false | 1.197848 | 0.088454 | 0.073844 | 0.013899 | Accepted | Accepted | 0.013899 | 0.19596 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 92,849,110,640 | 2.174407 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s383032031 | train | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cmath>
using namespace std;
int main() {
int X;
cin >> X;
int ans=1;
for(int b=1;b<=1000;b++){
for(int p=2;p<=10;p++){
if((pow(b,p)<=X)&&(pow(b,p)>=ans)){
... | {"0": 1339987506, "1": 1341386332, "2": 1339987506, "3": 1340900704, "4": 1340806038, "5": 1340806038, "6": 1341006524, "7": 1340898130, "8": 1341410642, "9": 1338981930, "10": 1338991940, "11": 1338993084, "12": 1339654602, "13": 1341856230, "14": 1340133080, "15": 1340806038, "16": 1338982502, "17": 1340806038, "18":... | [] | ok | 139,418,562,712 | s798553866 | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <cmath>
#include <set>
#include <sstream>
#include <bitset>
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
typedef long long ll;
using namespace std;
int main() {
int x;
ci... | {"0": 1042212028, "1": 1042023840, "2": 1042203162, "3": 1042237768, "4": 1042212886, "5": 1042195154, "6": 1042203734, "7": 1042141958, "8": 1042098486, "9": 1042238054, "10": 1042211742, "11": 1042153684, "12": 1041861392, "13": 1041852812, "14": 1042211170, "15": 1042212886, "16": 1042164552, "17": 1042237196, "18":... | ok | 1.286375 | 1.286375 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 6.982099 | false | false | false | 1.286385 | 0.097422 | 0.075733 | 0.013899 | Accepted | Accepted | 0.013899 | 0.259674 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 106,118,865,424 | 1.313796 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s544288094 | train | cpp | #include <bits/stdc++.h>
using namespace std;
#include <math.h>
#include <iomanip>
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
const int INF=1001001001;
vector<pair<int64_... | {"0": 1047919158, "1": 17558295898, "2": 1088574058, "3": 2041889850, "4": 1473222322, "5": 1233484252, "6": 1751796618, "7": 3148244528, "8": 4137046056, "9": 1037464714, "10": 1029603432, "11": 1033308276, "12": 22046016564, "14": 1137850714, "15": 1299612600, "16": 1034508332, "17": 1627212730, "18": 1077233014, "19... | [13, 23, 33, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 275,837,565,146 | s646099306 | #include <bits/stdc++.h>
using namespace std;
#include <math.h>
#include <iomanip>
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
const int mod=1e9+7;
const int INF=1001001... | {"0": 1022152560, "1": 1022357622, "2": 1022152560, "3": 1022293558, "4": 1022294702, "5": 1022079058, "6": 1022293558, "7": 1022293558, "8": 1022293558, "9": 1021950358, "10": 1021950358, "11": 1021950358, "12": 1022357622, "13": 1022352760, "14": 1022152560, "15": 1022025576, "16": 1021950358, "17": 1022293558, "18":... | ok | 2.069805 | 2.901647 | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, ... | 88 | 104 | 88 | 104 | 0 | 11.0192 | false | false | false | 1.232089 | 0.091314 | 0.074113 | 0.013899 | Accepted | Accepted | 0.013899 | 0.222189 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, ... | 89,786,809,112 | 2.073583 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s824081779 | train | cpp | #include<bits/stdc++.h>
using namespace std ;
int main () {
int N ;
cin >> N ;
int ans = 0 ;
for(int i = 1 ; i <= 1+N ; i++ ){
for(int j = 2 ; j <= 2+N ; j++ ){
int pre = pow(i,j) ;
if( pre <= N ) ans = max(ans,pre) ;
}
}
cout << ans << endl ;
} | {"0": 1043096912, "1": 14156435150, "2": 1085243016, "3": 2036996676, "4": 1481087894, "5": 1236283048, "6": 1762946328, "7": 2906052578, "8": 3683449770, "9": 1030744572, "10": 1022950214, "11": 1026674792, "12": 17627889136, "13": 20436463476, "14": 1136441020, "15": 1302437994, "16": 1027596570, "17": 1638034684, "1... | [23, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 289,554,485,506 | s759631282 | #include<bits/stdc++.h>
using namespace std ;
int main () {
int N ;
cin >> N ;
int ans = 0 ;
for(int i = 1 ; i <= 1+N ; i++ ){
for(int j = 2 ; j <= 2+N ; j++ ){
int pre = pow(i,j) ;
if( pre <= N ) ans = max(ans,pre) ;
else break ;
}
}
cout << ans << endl ;
}
| {"0": 1025432980, "1": 1069661450, "2": 1028553812, "3": 1038834654, "4": 1034824362, "5": 1032263232, "6": 1037450986, "7": 1042615574, "8": 1046077890, "9": 1024585276, "10": 1022925046, "11": 1023645480, "12": 1075483552, "13": 1079073710, "14": 1030406234, "15": 1033172998, "16": 1023932624, "17": 1036744852, "18":... | ok | 2.120665 | 2.94162 | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, ... | 90 | 104 | 90 | 104 | 0 | 11.419836 | false | false | false | 1.221533 | 0.091313 | 0.074753 | 0.013899 | Accepted | Accepted | 0.013899 | 0.213917 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, ... | 91,828,343,464 | 2.148953 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s648785595 | train | cpp | /** author: __nishad__ **/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll ;
typedef vector<ll> vll ;
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define all(v) (v).begin(),(v).end()
#define precision(k) cout<<setprecision(k)<<fixed;
#define loop(i,a) for(int i=0;... | {"0": 1084203120, "2": 1161192032, "3": 2813844462, "4": 1845203360, "5": 1419530112, "6": 2335244626, "7": 4372560478, "8": 5820319362, "9": 1060304388, "10": 1039750140, "11": 1051966058, "14": 1248249288, "15": 1535988740, "16": 1053585104, "17": 2118699440, "18": 1139270418, "19": 4939772266, "20": 1109184934, "21"... | [1, 12, 13, 23, 33, 34, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 287,423,359,938 | s450771019 | /** author: __nishad__ **/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll ;
typedef vector<ll> vll ;
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define all(v) (v).begin(),(v).end()
#define precision(k) cout<<setprecision(k)<<fixed;
#define loop(i,a) for(int i=0;... | {"0": 1065049986, "1": 14148743752, "2": 1107456350, "3": 2052386622, "4": 1498727230, "5": 1255189364, "6": 1780615980, "7": 2917199142, "8": 3696000594, "9": 1052674194, "10": 1039646608, "11": 1048708232, "12": 17612612732, "13": 20416163196, "14": 1156979538, "15": 1321415524, "16": 1049480718, "17": 1656471674, "1... | ok | 1.313674 | 1.444981 | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | 85 | 104 | 85 | 104 | 0 | 11.679128 | false | false | false | 1.138788 | 0.10573 | 0.092845 | 0.013899 | Accepted | Accepted | 0.013899 | 0.140319 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | 86,724,658,592 | 2.197799 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s954146983 | train | cpp | #define rep(i, n) for (int i = 0; i < (n); i++)
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int MOD = 1000000007;
int main() {
int X;
cin >> X;
int maxValue = 1;
for (int i = 1; i <= X; i++) { // O(N^2) -> 1000 * 1000 = 10^6
f... | {"0": 1047205588, "1": 13606968518, "2": 1083054830, "3": 1906469708, "4": 1420426722, "5": 1209604110, "6": 1665095146, "7": 2695154748, "8": 3423495504, "9": 1037226762, "10": 1029425254, "11": 1033220760, "12": 17018552408, "13": 19784308830, "14": 1126098974, "15": 1266802966, "16": 1034376486, "17": 1556410570, "1... | [23, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 278,851,726,582 | s080418400 | #define rep(i, n) for (int i = 0; i < (n); i++)
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int MOD = 1000000007;
int main() {
int X;
cin >> X;
int maxValue = 1;
vector<bool> expo(X + 1);
expo[1] = true;
for (int i = 2; i <=... | {"0": 1031727554, "1": 1033161558, "2": 1031727554, "3": 1032350748, "4": 1032222620, "5": 1031737564, "6": 1032251220, "7": 1032381064, "8": 1032577260, "9": 1031752722, "10": 1031727268, "11": 1031753294, "12": 1033341452, "13": 1033376630, "14": 1031744428, "15": 1031744714, "16": 1031742998, "17": 1032248074, "18":... | ok | 2.165 | 2.843942 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 91 | 104 | 91 | 104 | 0 | 11.637573 | false | false | false | 1.188123 | 0.088699 | 0.074655 | 0.013899 | Accepted | Accepted | 0.013899 | 0.187756 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 92,849,110,640 | 2.189915 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s523411834 | train | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int X;
cin >> X;
double ans=1;
for(int i=X;i>0;--i){
for(int j=1;j<=sqrt(X);++j){
for(int k=2;k<=10;++k){
if(pow(j,k)<=X) ans=max(ans,pow(j,k));
}
}
}
cout << ans << endl;
} | {"0": 1070413344, "1": 6886422114, "2": 1132343498, "3": 1827608354, "4": 1482630864, "5": 1282507226, "6": 1665162928, "7": 2283663096, "8": 2756039858, "9": 1050218884, "10": 1035143538, "11": 1041160120, "12": 8159118110, "13": 9097893662, "14": 1187196868, "15": 1353617408, "16": 1042928458, "17": 1597865698, "18":... | [44] | ok | 315,124,393,870 | s048804173 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<long long,long long> pll;
#define ep emplace_back
#define pb push_back
#define mp make_pair
#define rep(i,n) for(int i=0;i<(n);++i)
#define all(v) v.begin(), v.end()
#define revall(v) v.rbegin(), v.rend... | {"0": 1037469004, "1": 1037469004, "2": 1037469004, "3": 1037473866, "4": 1037469004, "5": 1037469004, "6": 1037469004, "7": 1037474152, "8": 1037385492, "9": 1036812062, "10": 1036812062, "11": 1036684506, "12": 1037387208, "13": 1037469004, "14": 1037469004, "15": 1037474152, "16": 1036750286, "17": 1037476154, "18":... | ok | 2.51372 | 2.949353 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 8... | 100 | 104 | 100 | 104 | 0 | 13.58101 | false | false | false | 1.206138 | 0.09126 | 0.075663 | 0.013899 | Accepted | Accepted | 0.013899 | 0.201612 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 8... | 102,035,796,720 | 2.555528 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s936464260 | train | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<cctype>
#include<utility>
#include<string>
#include<cmath>
#define REP(n) for(int i = 0;i < n;i++)
#define LLREP(n) for(long long int i = 0;i < n;i++)
typedef long long int ll;
using namespace std;
#define MAX_A 100005
int main(){
... | {"0": 1047205588, "1": 13606968518, "2": 1083054830, "3": 1906469708, "4": 1420426722, "5": 1209604110, "6": 1665095146, "7": 2695154748, "8": 3423495504, "9": 1037226762, "10": 1029425254, "11": 1033220760, "12": 17018552408, "13": 19784308830, "14": 1126098974, "15": 1266802966, "16": 1034376486, "17": 1556410570, "1... | [23, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 278,851,726,582 | s334519600 | #include<iostream>
#include<vector>
#include<algorithm>
#include<cmath>
using namespace std;
int main() {
int n;
cin >> n;
int ans = 1;
for (int i = 2; i <= n; i++) {
int num = i;
if (i*i > n)
{
break;
}
while (num * i <= n) {
num *= i;
}
ans = max(ans, num);
}
... | {"0": 1022152560, "1": 1022357622, "2": 1022021286, "3": 1022352760, "4": 1022293558, "5": 1022152560, "6": 1022293558, "7": 1022293558, "8": 1022297848, "9": 1021950358, "10": 1021950358, "11": 1021950358, "12": 1022357622, "13": 1022357622, "14": 1022152560, "15": 1022152560, "16": 1021894588, "17": 1022293558, "18":... | ok | 2.185947 | 2.871591 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 91 | 104 | 91 | 104 | 0 | 11.637573 | false | false | false | 1.196875 | 0.088699 | 0.074109 | 0.013899 | Accepted | Accepted | 0.013899 | 0.195054 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 92,849,110,640 | 2.189915 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s086696291 | train | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int mypow(int n, int p) {
if (p == 0) return 1;
else if (p & 1) {
return n * mypow(n, p - 1);
} else {
int half = mypow(n, p >> 1);
return half * half;
}
}
int m... | {"0": 1045405504, "2": 1076357568, "3": 2159257672, "4": 1433244098, "5": 1191882978, "6": 1798192110, "7": 3383467516, "8": 4807718058, "9": 1037206742, "10": 1034969078, "11": 1035943766, "14": 1112528560, "15": 1253146466, "16": 1036569820, "17": 1610530636, "18": 1067842204, "19": 3907238478, "20": 1055619994, "21"... | [1, 12, 13, 23, 33, 34, 37, 39, 40, 41, 42, 43, 44, 76, 102] | ok | 237,989,312,132 | s794890605 | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int mypow(int n, int p) {
if (p == 0) return 1;
else if (p & 1) {
return n * mypow(n, p - 1);
} else {
int half = mypow(n, p >> 1);
return half * half;
}
}
int m... | {"0": 1036332440, "1": 1036337588, "2": 1036340162, "3": 1036405942, "4": 1036399936, "5": 1036341592, "6": 1036333298, "7": 1036337016, "8": 1036388496, "9": 1035122660, "10": 1035098636, "11": 1035066318, "12": 1036399078, "13": 1036329294, "14": 1036337874, "15": 1036388496, "16": 1034981948, "17": 1036350744, "18":... | ok | 1.874069 | 2.580866 | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | 85 | 104 | 85 | 104 | 0 | 10.113027 | false | false | false | 1.20781 | 0.090852 | 0.075221 | 0.013899 | Accepted | Accepted | 0.013899 | 0.20313 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 35, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, ... | 86,724,658,592 | 1.903087 | null | null | null | null | null | null | null | null | null | null | null |
p03352 | s367597367 | train | cpp | #include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;
bool isPrime(int n)
{
if (n < 2)return false;
for (int i = 2; i < n; i++)
{
if (n % i == 0)return false;
}
}
int gcd(int a, int b)
{
for (int i = min(a, b); i >= 2; i--)
{
if (a % i == 0 && b % i == 0) return i;
... | {"0": 1039259078, "1": 13979304482, "2": 1079078858, "3": 2010680958, "4": 1464966074, "5": 1222964314, "6": 1740224486, "7": 2866226792, "8": 3631954326, "9": 1028959074, "10": 1021504484, "11": 1025213332, "12": 17411339946, "13": 20190256658, "14": 1127502376, "15": 1288354782, "16": 1025418108, "17": 1617837078, "1... | [23, 37, 39, 40, 41, 42, 43, 44, 102] | ok | 286,332,719,530 | s401673396 | #include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;
bool isPrime(int n)
{
if (n < 2)return false;
for (int i = 2; i < n; i++)
{
if (n % i == 0)return false;
}
}
int gcd(int a, int b)
{
for (int i = min(a, b); i >= 2; i--)
{
if (a % i == 0 && b % i == 0) return i;
... | {"0": 1024927332, "1": 1054439958, "2": 1026701962, "3": 1036099064, "4": 1033218472, "5": 1030133676, "6": 1034798622, "7": 1038301550, "8": 1040423098, "9": 1023807070, "10": 1021504484, "11": 1023275110, "12": 1058151380, "13": 1061276216, "14": 1028553812, "15": 1030949062, "16": 1023275110, "17": 1034504900, "18":... | ok | 2.228914 | 2.91871 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 91 | 104 | 91 | 104 | 0 | 11.974226 | false | false | false | 1.213676 | 0.090661 | 0.0747 | 0.013899 | Accepted | Accepted | 0.013899 | 0.207934 | 1 | s147468699 | {"0": 1019893446, "1": 1020767176, "2": 1020434558, "3": 1020631898, "4": 1020434558, "5": 1020434558, "6": 1020530082, "7": 1020530082, "8": 1020631898, "9": 1019858268, "10": 1019843968, "11": 1019875428, "12": 1020767176, "13": 1020696820, "14": 1020434558, "15": 1020434558, "16": 1019848544, "17": 1020532942, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 35, 36, 38, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 9... | 92,849,110,640 | 2.253265 | null | null | null | null | null | null | null | null | null | null | null |
p03891 | s934094873 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int a[3][3],x,i;
cin>>a[0][0]>>a[0][1]>>a[1][1];
x=a[1][1]*3;
a[0][2]=x-a[0][0]-a[0][1];
a[2][1]=x-a[0][1]-a[1][1];
a[2][2]=x-a[0][0]-a[1][1];
a[2][0]=x-a[1][1]-a[0][2];
a[1][0]=x-a[0][0]-a[2][0];
a[1][2]=x-a[0][2]-a[2][2];
for(i=0;i<3;i++){... | {"0": 1023879428, "1": 1023705254, "2": 1024557820, "3": 1023951214, "4": 1024621884, "5": 1024621884, "6": 1024718552, "7": 1023951214, "8": 1023708686, "9": 1024621884, "10": 1024718552, "11": 1024718552, "12": 1023959794, "13": 1024556104, "14": 1023864842, "15": 1024557820, "16": 1024727132, "17": 1024635898, "18":... | [] | ok | 105,492,105,290 | s908179494 | #include<stdio.h>
int a,b,c;
int main()
{
scanf("%d%d%d",&a,&b,&c);
printf("%d %d %d\n",a,b,3*c-a-b);
printf("%d %d %d\n",(c<<2)-(a<<1)-b,c,(a<<1)+b-(c<<1));
printf("%d %d %d\n",a+b-c,(c<<1)-b,(c<<1)-a);
return 0 ;
} | {"0": 196367600, "1": 196304108, "2": 196679054, "3": 196953328, "4": 196803750, "5": 196803750, "6": 196865526, "7": 197032836, "8": 196572376, "9": 196803750, "10": 196865526, "11": 196865526, "12": 197027402, "13": 196803750, "14": 196367600, "15": 196679054, "16": 196886690, "17": 196865526, "18": 196888978, "19": ... | ok | 5.208378 | 5.208378 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 103 | 103 | 103 | 0 | 5.33435 | false | false | false | 5.31541 | 0.025472 | 0.004792 | 0.004792 | Accepted | Accepted | 0.004792 | 1 | 10 | s908179494 | {"0": 196367600, "1": 196304108, "2": 196679054, "3": 196953328, "4": 196803750, "5": 196803750, "6": 196865526, "7": 197032836, "8": 196572376, "9": 196803750, "10": 196865526, "11": 196865526, "12": 197027402, "13": 196803750, "14": 196367600, "15": 196679054, "16": 196886690, "17": 196865526, "18": 196888978, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 20,254,309,218 | 5.208378 | null | null | null | null | null | null | null | null | null | null | null |
p03891 | s218972214 | train | cpp | #include<iostream>
using namespace std;
int main()
{
int A,B,C;
cin>>A>>B>>C;
cout<<A<<' '<<B<<' '<<C*3-A-B<<endl<<4*C-2*A-B<<' '<<C<<' '<<2*A+B-2*C<<endl<<A+B-C<<' '<<C*2-B<<' '<<C*2-A;
}
| {"0": 1025028290, "1": 1025028290, "2": 1025502764, "3": 1025125244, "4": 1025502764, "5": 1025502764, "6": 1025502764, "7": 1025206182, "8": 1024398518, "9": 1025502764, "10": 1025502764, "11": 1025502764, "12": 1025206182, "13": 1025502764, "14": 1025032866, "15": 1025502764, "16": 1025560250, "17": 1025503050, "18":... | [] | ok | 105,575,422,524 | s908179494 | #include<stdio.h>
int a,b,c;
int main()
{
scanf("%d%d%d",&a,&b,&c);
printf("%d %d %d\n",a,b,3*c-a-b);
printf("%d %d %d\n",(c<<2)-(a<<1)-b,c,(a<<1)+b-(c<<1));
printf("%d %d %d\n",a+b-c,(c<<1)-b,(c<<1)-a);
return 0 ;
} | {"0": 196367600, "1": 196304108, "2": 196679054, "3": 196953328, "4": 196803750, "5": 196803750, "6": 196865526, "7": 197032836, "8": 196572376, "9": 196803750, "10": 196865526, "11": 196865526, "12": 197027402, "13": 196803750, "14": 196367600, "15": 196679054, "16": 196886690, "17": 196865526, "18": 196888978, "19": ... | ok | 5.212492 | 5.212492 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 103 | 103 | 103 | 0 | 5.338563 | false | false | false | 5.305361 | 0.025424 | 0.004792 | 0.004792 | Accepted | Accepted | 0.004792 | 1 | 10 | s908179494 | {"0": 196367600, "1": 196304108, "2": 196679054, "3": 196953328, "4": 196803750, "5": 196803750, "6": 196865526, "7": 197032836, "8": 196572376, "9": 196803750, "10": 196865526, "11": 196865526, "12": 197027402, "13": 196803750, "14": 196367600, "15": 196679054, "16": 196886690, "17": 196865526, "18": 196888978, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 20,254,309,218 | 5.212492 | null | null | null | null | null | null | null | null | null | null | null |
p03891 | s879637459 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f,g,h,i;
cin>>a>>b>>e;
for(int s=-(1e6);s<=(1e6);s++){
h=s-(b+e);
c=s-(a+b);
i=s-(a+e);
f=s-(c+i);
d=s-(e+f);
g=s-(c+e);
if(a+b+c==s&&d+e+f==s&&g+h+i==s&&a+d+g==s&&b+e+h==s&&c+f... | {"0": 3313410386, "1": 3313341746, "2": 3313509342, "3": 3313411530, "4": 3313486176, "5": 3313512774, "6": 3313731278, "7": 3313471876, "8": 3312733424, "9": 3313512774, "10": 3313626602, "11": 3313626602, "12": 3313471876, "13": 3313507626, "14": 3313470732, "15": 3313509342, "16": 3313710686, "17": 3313603722, "18":... | [] | ok | 341,264,859,936 | s999078666 | #include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f,g,h,i;
cin>>a>>b>>e;
for(int s=-300;s<=300;s++){
h=s-(b+e);
c=s-(a+b);
i=s-(a+e);
f=s-(c+i);
d=s-(e+f);
g=s-(c+e);
if(a+b+c==s&&d+e+f==s&&g+h+i==s&&a+d+g==s&&b+e+h==s&&c+f+i==... | {"0": 1025550240, "1": 1025497044, "2": 1026509484, "3": 1025569116, "4": 1026532936, "5": 1026514918, "6": 1026659634, "7": 1025678940, "8": 1025210472, "9": 1026514918, "10": 1026625314, "11": 1026625314, "12": 1025608298, "13": 1026424256, "14": 1025573978, "15": 1026509484, "16": 1026715690, "17": 1026572976, "18":... | ok | 3.229513 | 3.229513 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 103 | 103 | 103 | 0 | 17.256516 | false | false | false | 3.244736 | 0.082649 | 0.025472 | 0.004792 | Accepted | Accepted | 0.004792 | 0.73439 | 4 | s908179494 | {"0": 196367600, "1": 196304108, "2": 196679054, "3": 196953328, "4": 196803750, "5": 196803750, "6": 196865526, "7": 197032836, "8": 196572376, "9": 196803750, "10": 196865526, "11": 196865526, "12": 197027402, "13": 196803750, "14": 196367600, "15": 196679054, "16": 196886690, "17": 196865526, "18": 196888978, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 20,254,309,218 | 16.849 | null | null | null | null | null | null | null | null | null | null | null |
p00232 | s133996477 | train | cpp | #include <cstdio>
#include <cstring>
#define MIN(A,B) ((A)<=(B)?(A):(B))
#define MAX(A,B) ((A)>=(B)?(A):(B))
int X,Y,Z,V[4],E[51],A[51];
double dp[51][5001];
int main() {
while(scanf("%d %d %d",&X,&Y,&Z),X) {
for(int i=0;i<X;i++) {
scanf("%d",&V[i]);
}
memset(E,0,sizeof(E));
memset(A,0,sizeof(A)... | {"0": 5555643522, "1": 5555004026, "2": 5558034768, "3": 5552697150, "4": 5547003748, "5": 5544929962, "6": 5550395136, "7": 5547615788, "8": 5562573016, "9": 5560633364, "10": 5567364946, "11": 5576269270, "12": 5552328210, "13": 5569951816, "14": 5558818408, "15": 5554424304, "16": 5559579168, "17": 5557560008, "18":... | [] | ok | 568,216,274,054 | s200731165 | #include <cstdio>
#include <cstring>
#define MIN(A,B) ((A)<=(B)?(A):(B))
#define MAX(A,B) ((A)>=(B)?(A):(B))
int X,Y,Z,V[4],E[51],A[51];
double dp[51][5001];
int main() {
while(scanf("%d %d %d",&X,&Y,&Z),X) {
for(int i=0;i<X;i++) {
scanf("%d",&V[i]);
}
memset(E,0,sizeof(E));
memset(A,0,sizeof(A)... | {"0": 5048092478, "1": 5048092478, "2": 5048090762, "3": 5048071886, "4": 5048086758, "5": 5048071886, "6": 5048086758, "7": 5047988374, "8": 5049997524, "9": 5047964922, "10": 5050003244, "11": 5049685212, "12": 5048290676, "13": 5049782166, "14": 5047863964, "15": 5048092478, "16": 5048092478, "17": 5047960918, "18":... | ok | 1.103215 | 1.103215 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 29.014311 | false | false | false | 1.103285 | 0.562508 | 0.509848 | 0.025842 | Accepted | Accepted | 0.025842 | 0.098124 | 1 | s629291450 | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 31,248,173,242 | 18.183984 | null | null | null | null | null | null | null | null | null | null | null |
p00232 | s987198074 | train | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <climits>
#include <cfloat>
#include <ctime>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <s... | {"0": 1948817442, "1": 1948797708, "2": 1947402314, "3": 1950116740, "4": 1948724778, "5": 1950116740, "6": 1947402314, "7": 1950304642, "8": 1974682138, "9": 1933373156, "10": 1974682138, "11": 1974794250, "12": 1951302782, "13": 1976328354, "14": 1933373156, "15": 1941878510, "16": 1944472816, "17": 1942516862, "18":... | [] | ok | 200,457,093,980 | s728528188 | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <climits>
#include <cfloat>
#include <ctime>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <s... | {"0": 1381849040, "1": 1381849040, "2": 1381877068, "3": 1382113018, "4": 1381863054, "5": 1382113018, "6": 1381340818, "7": 1381875352, "8": 1392487668, "9": 1381855046, "10": 1392487668, "11": 1392487668, "12": 1381856476, "13": 1392605214, "14": 1381847038, "15": 1381866200, "16": 1381857620, "17": 1381446638, "18":... | ok | 1.415602 | 1.415602 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 10.235758 | false | false | false | 1.423894 | 0.198082 | 0.139113 | 0.025842 | Accepted | Accepted | 0.025842 | 0.342365 | 2 | s629291450 | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 31,248,173,242 | 6.415002 | null | null | null | null | null | null | null | null | null | null | null |
p00232 | s457062022 | train | cpp | #include<iostream>
#include<algorithm>
#define FOR(i,e) for(int i=0;i<(int)(e);i++)
using namespace std;
int main(){
double pb[100][5001];
int x,y,z;
int v[4],e[51],a[51];
while(cin >> x >> y >> z && (x||y||z)){
FOR(i,x)cin >> v[i];
FOR(i,y+1)e[i] = a[i] = 0;
FOR(i,z){
int n,... | {"0": 1955512130, "1": 1955512130, "2": 1832175774, "3": 1955522140, "4": 1800679738, "5": 1955522140, "6": 1864193474, "7": 1800896526, "8": 1817884068, "9": 1832175774, "10": 1817859186, "11": 1972310912, "12": 1863720430, "13": 1912211730, "14": 1832165764, "15": 1800679738, "16": 1958029216, "17": 1800758102, "18":... | [] | ok | 192,160,987,590 | s629291450 | #include<cstdio>
#include<algorithm>
using namespace std;
int main(){
double pb[100][5001];
int x,y,z,n,m,l,ub,i,j,k;
int v[4],e[51],a[51];
while(scanf("%d %d %d",&x,&y,&z) && (x||y||z)){
for(i=0;i<x;i++)scanf("%d",&v[i]);
for(i=0;i<=y;i++)e[i] = a[i] = 0;
ub = 0;
for(i=0;i<z;i+... | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | ok | 6.149511 | 6.149511 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 9.812142 | false | false | false | 6.246177 | 0.189675 | 0.030367 | 0.025842 | Accepted | Accepted | 0.025842 | 0.97238 | 6 | s629291450 | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 31,248,173,242 | 6.149511 | null | null | null | null | null | null | null | null | null | null | null |
p00232 | s288098895 | train | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int main(){
double pb[100][5001];
int x,y,z,n,m,l,ub;
int v[4],e[51],a[51];
while(cin >> x >> y >> z && (x||y||z)){
for(int i=0;i<x;i++)cin >> v[i];
for(int i=0;i<=y;i++)e[i] = a[i] = 0;
ub = 0;
for(int i=0;i<z;i++){
... | {"0": 1138490496, "1": 1138490496, "2": 1138490496, "3": 1138400978, "4": 1138490496, "5": 1138333768, "6": 1138948382, "7": 1138159022, "8": 1138641504, "9": 1138153588, "10": 1138992426, "11": 1139065356, "12": 1138641504, "13": 1138333768, "14": 1138008872, "15": 1138338916, "16": 1138490496, "17": 1138400978, "18":... | [] | ok | 116,110,849,712 | s629291450 | #include<cstdio>
#include<algorithm>
using namespace std;
int main(){
double pb[100][5001];
int x,y,z,n,m,l,ub,i,j,k;
int v[4],e[51],a[51];
while(scanf("%d %d %d",&x,&y,&z) && (x||y||z)){
for(i=0;i<x;i++)scanf("%d",&v[i]);
for(i=0;i<=y;i++)e[i] = a[i] = 0;
ub = 0;
for(i=0;i<z;i+... | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | ok | 3.715764 | 3.715764 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 5.928863 | false | false | false | 3.761555 | 0.114226 | 0.030367 | 0.025842 | Accepted | Accepted | 0.025842 | 0.948802 | 6 | s629291450 | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 31,248,173,242 | 3.715764 | null | null | null | null | null | null | null | null | null | null | null |
p00232 | s441517966 | train | cpp | #include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
template<typename A, typename B> inline bool chmax(A &a, B b) { if (a<b) { a=b; return 1; } return 0; }
template<typ... | {"0": 1912165684, "1": 1912171118, "2": 1912085890, "3": 1911756132, "4": 1911754416, "5": 1911724672, "6": 1911761566, "7": 1912032980, "8": 1939691468, "9": 1912132508, "10": 1939691468, "11": 1939242448, "12": 1912373892, "13": 1938678456, "14": 1911924872, "15": 1911747266, "16": 1912106196, "17": 1912026116, "18":... | [] | ok | 196,948,587,550 | s945344504 | #include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=(a);i<(b);i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
template<typename A, typename B> inline bool chmax(A &a, B b) { if (a<b) { a=b; return 1; } return 0; }
template<typ... | {"0": 1492878530, "1": 1492880532, "2": 1492896262, "3": 1492976628, "4": 1492929724, "5": 1492994932, "6": 1492965474, "7": 1492980918, "8": 1506695190, "9": 1492897978, "10": 1506695190, "11": 1506616826, "12": 1493041264, "13": 1506602812, "14": 1492913422, "15": 1492878530, "16": 1492945454, "17": 1492902554, "18":... | ok | 1.285078 | 1.285078 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 10.056607 | false | false | false | 1.286329 | 0.194465 | 0.151179 | 0.025842 | Accepted | Accepted | 0.025842 | 0.256706 | 1 | s629291450 | {"0": 306676370, "1": 306676370, "2": 306598578, "3": 306675512, "4": 306676370, "5": 306593716, "6": 306848828, "7": 306043166, "8": 306676370, "9": 305969092, "10": 306957222, "11": 307045596, "12": 307043308, "13": 306536230, "14": 305866704, "15": 306536230, "16": 306940348, "17": 306459582, "18": 306452146, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 31,248,173,242 | 6.302723 | null | null | null | null | null | null | null | null | null | null | null |
PIE gem5-timed code optimization (per source program)
C++ program-optimization data derived from the PIE dataset ("Learning Performance-Improving Code Edits"), re-timed end-to-end with gem5 (x86 Skylake, syscall-emulation mode) at per-test-case granularity. One row per unique (problem, source) program; the best surviving target is kept as an oracle ceiling.
This dataset is reward-agnostic: it ships the full per-test-case reference timings and
case manifests so a downstream RL / eval pipeline decides at runtime how many cases to use
(K) and which reward transform to apply. Nothing is baked in.
For an automated agent reading this card: every column is documented in § Field dictionary below, including its type, encoding, and which splits populate it. Start with § How to compute the reward.
TL;DR units & encoding
- Ticks are gem5 picoseconds.
seconds = ticks * 1e-12. - Columns named
*_per_tc_ticks,*_tc2time,*_case_ids,*_excludedare JSON strings (a dict{case_idx: value}or a list[case_idx, ...]) —json.loadsthem. Case indices are integers0 .. n_cases_available-1. gem5_*/our_*/*_case_ids/n_*/flag_*columns are produced by this re-timing.pie_*columns are carried verbatim from the official PIE release.
How to compute the reward
The reward is a speedup ratio over a common set of test cases, robust to which cases you sample:
import json, random
src = json.loads(row["gem5_src_per_tc_ticks"]) # {idx: ticks}
tgt = json.loads(row["gem5_tgt_per_tc_ticks"]) # ("oracle" variant in the bysrc dataset)
usable = json.loads(row["usable_case_ids"]) # correctness-kept ∩ both-timed ∩ ticks<=wall
K = 5 # runtime choice; -1 / len(usable) = use all
cases = usable if K < 0 else random.sample(usable, min(K, len(usable)))
speedup = sum(src[str(c)] for c in cases) / sum(tgt[str(c)] for c in cases)
usable_case_ids is already the correct, fully-filtered set — do not re-derive correctness
or apply the wall yourself. Always clamp K to len(usable); never pad, skip, or zero-reward a
pair that has fewer than K usable cases. K=5–10 reproduces the full ~100-case aggregate within
~1–2% (per-case time is near-uniform within a program).
gem5_fastest_id / gem5_fastest_per_tc_ticks give the fastest surviving program of the
problem (chosen among programs present in this dataset, ranked over the per-problem common
usable basis) as an oracle ceiling; our_fastest_speedup is src-vs-fastest over usable_case_ids.
Provenance & validation
- Timing engine: gem5.fast, X86 SE mode, with fork-from-live startup amortization (one startup simulation, COW-forked per case; per-case ticks equal a fresh run, validated r=1.0).
- Validated against PIE's published numbers: per-test-case r=1.0 on the test split (aligned on
PIE's released
testsindices); speedup log-correlation ~0.97–0.98, median ratio ~0.99. - Caveat — pin your toolchain. The gem5 startup floor depends on the compiler/glibc/link mode (≈13M ticks static ↔ ≈195M ticks dynamic). These reference ticks were produced with one fixed toolchain; if you re-time rollouts, use the same toolchain or regenerate references, otherwise speedups are not comparable.
Filtering (rows are pre-filtered; bad records are DROPPED, not flagged)
- Compile-fail programs dropped (
g++ -O2 -std=gnu++17). - Bad-apple programs dropped: a submission failing > max(5, 5% of cases) is treated as wrong/mislabeled (line-wise + 1e-3 float comparator).
- gem5 hard-excludes (startup_fail / all-cases-hang-or-crash) dropped.
- Case kept iff every surviving good program of the problem passes it (correctness intersection).
- Strict 2-min wall: cases above 1.4e10 ticks dropped from
usable. - Source dropped if it fails > max(5, 5%); oracle target must also pass the same bar.
- 3 degenerate problems (empty input+output: p00000, p02068, p00754) dropped.
- Retained NON-dropping flags:
flag_low_headroom,flag_single_case,flag_empty_kept.
Splits & why some columns are null
| split | rows | notes |
|---|---|---|
| train | 16501 | PIE released reward/difficulty annotations but no benchmark tests here. |
| validation | 590 | same as train. |
| test | 878 | PIE released benchmark tests indices + per-tc reference times here. |
PIE ships different columns for test vs train/val, so each row only fills the pie_*
columns that apply to its split; the rest are null by design (the schema is the union across
splits). Specifically: pie_*_code_*, pie_fastest_code*, pie_*_tc2time, pie_n_tests,
pie_test_*, pie_tests_case_ids are test-only; pie_speedup, pie_*_verdict,
pie_*_reward_updated*, pie_fastest_agg_runtime_updated are train/val-only. None of the
gem5_* / our_* / *_case_ids / n_* columns are ever null.
Field dictionary
Availability: all = populated in every split; test-only / train/val-only = null elsewhere.
Identity
| field | splits | meaning |
|---|---|---|
problem_id |
all | PIE/online-judge problem id. Groups every submission for one problem; the unit the correctness-intersection and tests benchmark are defined over. |
src_id |
all | Submission id of the SOURCE (slower, to-be-optimized) program. |
oracle_tgt_id |
all | Submission id of the chosen ORACLE target = the surviving target with the highest our_speedup_usable for this source. [bysrc only] |
split |
all | Dataset split: train / validation / test. |
language |
all | Programming language. Always cpp (C++). |
Code
| field | splits | meaning |
|---|---|---|
src_code |
all | Full C++ source of the source program. |
oracle_tgt_code |
all | Full C++ source of the oracle target program. [bysrc only] |
Our gem5 per-test-case timing
| field | splits | meaning |
|---|---|---|
gem5_src_per_tc_ticks |
all | JSON {case_idx: ticks}. gem5 picoseconds PER TEST CASE for the SRC program. Seconds = ticks * 1e-12. Holds EVERY case gem5 timed (incl. cases later discarded by correctness/wall filters) — select cases via usable_case_ids. |
gem5_oracle_tgt_per_tc_ticks |
all | JSON {case_idx: ticks} for the oracle target (same convention). [bysrc only] |
gem5_fastest_id |
all | Submission id of the FASTEST surviving program for this problem, chosen among programs that appear as a src/tgt in THIS dataset, ranked by summed gem5 ticks over the per-problem common usable case basis. The practical oracle ceiling. |
gem5_fastest_per_tc_ticks |
all | JSON {case_idx: ticks} for the FASTEST program of this problem (see gem5_fastest_id); full per-case gem5 timing, same convention. |
gem5_fastest_usable_case_ids |
all | Usable case set for the fastest program = kept ∩ fastest-timed ∩ wall. |
gem5_fastest_sum_ticks_usable |
all | Sum of FASTEST-program ticks over usable_case_ids. Denominator of our_fastest_speedup. |
gem5_src_excluded |
all | JSON list of case indices gem5 could NOT time for the SRC program (hang / crash / over compute budget during the sweep). |
gem5_src_status |
all | gem5 sweep status for the src program: ok (all cases timed) or forkloop_partial (some cases excluded). Hard-fail statuses (startup_fail / native_all_excluded) are already dropped. |
gem5_oracle_tgt_status |
all | gem5 sweep status for the oracle target. [bysrc only] |
gem5_src_sum_ticks_all |
all | Sum of SRC ticks over common_timed_case_ids (cases timed on both sides). Numerator of our_speedup_all. |
Case-id sets (JSON int lists) + counts
| field | splits | meaning |
|---|---|---|
timed_case_ids |
all | Case indices gem5 timed for the src (within the 2-min wall). [bysrc only] |
correctness_kept_case_ids |
all | Case indices passed by EVERY good (non-bad-apple, compile-ok) program of the problem = the correctness intersection. Problem-level, identical across rows of a problem. |
usable_case_ids |
all | THE case set to use for the reward = correctness-kept ∩ both-sides-timed ∩ ticks≤1.4e10 (pairs) / kept ∩ src-timed ∩ wall (bysrc). Falls back to all-timed when the kept set is empty (single-case problems). |
n_timed |
all | len(timed_case_ids). [bysrc only] |
n_kept |
all | len(correctness_kept_case_ids). |
n_usable |
all | len(usable_case_ids). The effective case count behind the speedup. |
n_cases_available |
all | Total test cases that exist for the problem in the merged test-case set. |
src_n_fail |
all | # cases the SRC program failed in the native correctness screen (line-wise + 1e-3 float comparator). 0 = passed all. |
Derived speedups + flags
| field | splits | meaning |
|---|---|---|
our_speedup_usable |
all | Reference speedup = sum(src ticks) / sum(tgt ticks) over usable_case_ids. Case-set-invariant; this is what training should reproduce. |
our_speedup_all |
all | sum(src)/sum(tgt) over common_timed_case_ids (no correctness/wall filtering). Provenance/debug. |
our_fastest_speedup |
all | sum(src ticks)/sum(fastest ticks) over usable_case_ids. Speedup of the src against the FASTEST program of the problem = the practical oracle ceiling for this source. |
ceiling_speedup |
all | Mean per-case src ticks / startup floor (192M ticks). Theoretical max speedup attainable for this src given the gem5 startup floor. Drives flag_low_headroom. |
flag_low_headroom |
all | True if ceiling_speedup < 1.5 — little room to optimize (kept, not dropped). |
flag_single_case |
all | True if the problem has only one test case. |
flag_empty_kept |
all | True if the correctness intersection was empty (single-case false-alarm problems; usable then falls back to all-timed). |
Carried verbatim from PIE (pie_*)
| field | splits | meaning |
|---|---|---|
pie_src_agg_runtime |
all | PIE's published aggregate wall-clock runtime (seconds) of the src program (their gem5 measurement). |
pie_oracle_tgt_agg_runtime |
all | PIE's published aggregate runtime (s) of the oracle tgt. [bysrc only] |
pie_speedup |
train/val-only | PIE's published src/tgt speedup. [train/val only] |
pie_fastest_agg_runtime |
all | PIE's published aggregate runtime (s) of the problem's fastest solution. |
pie_src_verdict |
train/val-only | Online-judge verdict for the src (e.g. Accepted). [train/val only] |
pie_oracle_tgt_verdict |
train/val-only | Online-judge verdict for the oracle tgt. [bysrc, train/val only] |
pie_fastest_agg_runtime_updated |
train/val-only | PIE's re-measured fastest-solution agg runtime. [train/val only] |
pie_src_reward_updated |
train/val-only | PIE's annotated reward for the src. [train/val only] |
pie_src_reward_updated_pct_bin |
train/val-only | PIE's difficulty/percentile bin for the src reward. [train/val only] |
pie_n_tests |
test-only | # benchmark test cases PIE used for this problem. [test only] |
pie_test_accuracy |
test-only | PIE's reported accuracy over the benchmark cases. [test only] |
pie_src_code_accuracy |
test-only | PIE's src accuracy over the benchmark cases. [test only] |
pie_src_code_compilation |
test-only | PIE's src compilation flag. [test only] |
pie_fastest_code |
test-only | Full C++ source of the fastest solution PIE identified for the problem. [test only] |
pie_fastest_code_len |
test-only | Token/char length of pie_fastest_code as PIE recorded it. [test only] |
pie_fastest_code_runtime |
test-only | PIE's agg runtime (s) of pie_fastest_code. [test only] |
pie_src_code_tc2time |
test-only | PIE's OWN per-test-case times for the src, JSON {idx: seconds}. [test only] |
pie_oracle_tgt_code_tc2time |
test-only | PIE's OWN per-test-case times for the oracle tgt, JSON {idx: seconds}. [bysrc, test only] |
pie_fastest_code_tc2time |
test-only | PIE's OWN per-test-case times for the fastest solution, JSON {idx: seconds}. [test only] |
pie_tests_case_ids |
test-only | JSON list of the benchmark case indices PIE released for this test problem (subset of 0..n_cases_available-1). [test only] |
Companion dataset
This is one of a pair built from the same timing:
- pie-gem5-pairs — one row per official (src, tgt) pair.
- pie-gem5-bysrc — one row per unique (problem, src); best surviving target kept as oracle.
Built 2026-06-12. Timing: gem5.fast with fork-from-live startup amortization.
- Downloads last month
- -