Skip to content

Commit

Permalink
pE Restore to in-contest tests (#1)
Browse files Browse the repository at this point in the history
Co-Authored-By: Xi-Plus <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chyyen <[email protected]>
  • Loading branch information
4 people authored Oct 2, 2022
1 parent 1d9ec7e commit 7e5d478
Show file tree
Hide file tree
Showing 16 changed files with 7,626 additions and 7,649 deletions.
Binary file modified pA/attachments/problems.pdf
Binary file not shown.
44 changes: 16 additions & 28 deletions pE/gen/data
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ gen 2 max jejyuzyhmecpa6r
gen 2 max 8szz1sjq2dnhprx
gen 2 max 4fzt8j7muoesuhn

@subtask task3
@subtask task4
gen 3 qjt3q0sdf8bbgq5
gen 3 yq0jhxebqx45urj
gen 3 kn23smlchetjnhd
Expand All @@ -37,31 +37,19 @@ gen 3 max ak2o139y5wxfxdt
gen 3 max uqna0350czp7bn8
gen 3 max nsg45slyr4k6azu

@subtask task4
gen 4 yPQrJMuUk64s7Lm
gen 4 3Ko6yakbf1LHnnY
gen 4 LV631saZDJ5LRRT
gen 4 Zwdjpdm50vqknyM
gen 4 tZR7iVqfSCZmWxh
gen 4 g09l7g0xyNwCfRi
gen 4 IE2r8V76oZY6nd8
gen 4 max ZnMGc14PlvTTGDl
gen 4 max tkfSVB18XHLKoOj
gen 4 max Oak7lJzazTDut77

@subtask task5
gen 5 snr6mks6pcex7ny
gen 5 3vcpd51tgl6axbv
gen 5 ex55j2g1z2931vi
gen 5 z7lrm8vzcsmec4s
gen 5 52zfkz0pqqvfq5m
gen 5 fk4ss4odfk5ts1y
gen 5 01pabce86pg66ee
gen 5 jbf8mqss95ju8ve
gen 5 3hqsp43vi1o8k5m
gen 5 max 8dt5k5ymhwo9yh0
gen 5 max npx1o6qy7q07x1x
gen 5 max s12fe40fp4acsaz
gen 5 max 8fdztttx2igfqmf
gen 5 max navjpy3q1022zkf
gen 5 max 7wagrxzvl0y1356
gen 4 snr6mks6pcex7ny
gen 4 3vcpd51tgl6axbv
gen 4 ex55j2g1z2931vi
gen 4 z7lrm8vzcsmec4s
gen 4 52zfkz0pqqvfq5m
gen 4 fk4ss4odfk5ts1y
gen 4 01pabce86pg66ee
gen 4 jbf8mqss95ju8ve
gen 4 3hqsp43vi1o8k5m
gen 4 max 8dt5k5ymhwo9yh0
gen 4 max npx1o6qy7q07x1x
gen 4 max s12fe40fp4acsaz
gen 4 max 8fdztttx2igfqmf
gen 4 max navjpy3q1022zkf
gen 4 max 7wagrxzvl0y1356
2 changes: 0 additions & 2 deletions pE/gen/gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ int main(int argc,char *argv[]){
else if(task_num==2)
n = 1000;
else if(task_num==3)
v = {1,2,4};
else if(task_num==4)
type3 = 1;
if(argv[2]=="max")
Mx = 1;
Expand Down
2 changes: 1 addition & 1 deletion pE/solution/ac.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ signed main(){
else if(op==2){
l--;
a[l] = id;
sgt.modify(0,3*N,0,2*N,1,1);
sgt.modify(0,3*N,0,3*N,1,1);
sgt2.modify(l,v[id]);
d_sgt[id].modify(0,3*N,l,1,root[id]);
}
Expand Down
186 changes: 93 additions & 93 deletions pE/solutions-check.txt

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pE/solutions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"samples": "correct",
"task1": "correct",
"task2": "correct",
"task3": "time_limit",
"task4": "time_limit",
"task5": "time_limit"
}
Expand Down
Binary file modified pE/statement/index.pdf
Binary file not shown.
17 changes: 4 additions & 13 deletions pE/subtasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,19 @@
"task2_val.cpp"
]
},
"task3": {
"index": 3,
"score": 26,
"text": "只有事件1、2、4",
"validators": [
"task3_val.cpp"
]
},
"task4": {
"index": 4,
"index": 3,
"score": 38,
"text": "對於事件3,$k = 1$",
"validators": [
"task4_val.cpp"
"task5_val.cpp"
]
},
"task5": {
"index": 5,
"score": 19,
"index": 4,
"score": 45,
"text": "無額外限制",
"validators": [
"task5_val.cpp"
]
}
}
Expand Down
Loading

0 comments on commit 7e5d478

Please sign in to comment.