|
| Code Submission Evaluation System |
Login |
BOI 2016, day 1
|
Start: | 2016-05-12 09:00:00 |
End: | 2016-05-12 14:00:00 |
|
|
Tasks | Scoreboard | Statistics
CSES - BOI 2016, day 1 - Results
Task: | Park |
Sender: | ReaLNero |
Submission time: | 2016-05-12 13:23:58 |
Language: | C++ |
Status: | READY |
Score: | 0 |
Feedback
group | verdict | score |
#1 | WRONG ANSWER | 0 |
#2 | RUNTIME ERROR | 0 |
#3 | RUNTIME ERROR | 0 |
Test results
test | verdict | time (s) | group | |
#1 | WRONG ANSWER | 0.06 / 2.50 | 1 | details |
#2 | WRONG ANSWER | 0.06 / 2.50 | 1 | details |
#3 | WRONG ANSWER | 0.05 / 2.50 | 1 | details |
#4 | WRONG ANSWER | 0.05 / 2.50 | 1 | details |
#5 | ACCEPTED | 0.05 / 2.50 | 1 | details |
#6 | WRONG ANSWER | 0.05 / 2.50 | 1 | details |
#7 | WRONG ANSWER | 0.05 / 2.50 | 1 | details |
#8 | ACCEPTED | 0.05 / 2.50 | 1 | details |
#9 | WRONG ANSWER | 0.06 / 2.50 | 1 | details |
#10 | WRONG ANSWER | 0.04 / 2.50 | 1 | details |
#11 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#12 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#13 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#14 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#15 | RUNTIME ERROR | 0.15 / 2.50 | 2 | details |
#16 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#17 | RUNTIME ERROR | 0.14 / 2.50 | 2 | details |
#18 | RUNTIME ERROR | 0.16 / 2.50 | 3 | details |
#19 | RUNTIME ERROR | 0.16 / 2.50 | 3 | details |
#20 | RUNTIME ERROR | 0.14 / 2.50 | 3 | details |
#21 | RUNTIME ERROR | 0.15 / 2.50 | 3 | details |
#22 | RUNTIME ERROR | 0.15 / 2.50 | 3 | details |
#23 | RUNTIME ERROR | 0.15 / 2.50 | 3 | details |
#24 | RUNTIME ERROR | 0.14 / 2.50 | 3 | details |
Code
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
ios::sync_with_stdio(false);
int t, v;
cin >> t >> v;
int x, y;
cin >> x >> y;
int xt[t], yt[t], rt[t];
for(int i = 0; i < t; i++){
cin >> yt[i] >> xt[i] >> rt[i];
}
int rv[v], ev[v];
for(int i = 0; i < v; i++){
cin >> rv[i] >> ev[i];
if(yt[i] - rt[i] > rv[i]){
cout << 1234;
} else if(y - (yt[i] - rt[i]) > rv[i]){
cout << 1234;
} else if(xt[i] - rt[i] > rv[i]){
cout << 1234;
} else if(x - (xt[i] - rt[i]) > rv[i]){
cout << 1234;
} else {
cout << ev[i];
}
cout << '\n';
}
return 0;
}
Test details
Test 1
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 979513360 951064428 919546609 316314580 2377936 339446741 628130423 4125204 121572058 270524668 5636432 ...
|
Test 2
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 991199014 920833466 230700794 888996817 6050635 481388637 266963369 8990139 388128678 193075342 6392873 ...
|
Test 3
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 912908727 909993663 497818433 252740213 1302648 19445396 162424624 2590054 851436472 463371747 1783777 ...
|
Test 4
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 999389891 924955261 154253387 891000940 6076382 59202899 565427474 8676367 123280124 461618875 16605 ...
|
Test 5
Group: 1
Verdict: ACCEPTED
input |
---|
2000 1 954679508 995423791 114486161 258621130 1651405 236582339 590299172 7669288 408723654 553042386 13639 ...
|
Test 6
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 937290370 990023490 548183238 668272337 6940399 17490037 355711568 6267836 464677420 473577708 1705970 ...
|
Test 7
Group: 1
Verdict: WRONG ANSWER
input |
---|
2000 1 1000000000 1000000000 532933 500000000 181305 1121313 500000000 132799 1349788 500000000 95636 ...
|
Test 8
Group: 1
Verdict: ACCEPTED
input |
---|
2000 1 1000000000 1000000000 999214206 500000000 32714 999000173 500000000 123669 996825328 500000000 13444 ...
|
Test 9
Group: 1
Verdict: WRONG ANSWER
input |
---|
8 1 1000000000 1000000000 200000000 384529926 2459575 400000000 269059852 2459575 400000000 499999960 2459575 ...
|
Test 10
Group: 1
Verdict: WRONG ANSWER
input |
---|
8 1 1000000000 1000000000 200000000 384529926 2192968 400000000 269059852 2192968 400000000 499999960 2192968 ...
|
Test 11
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 993985849 949873837 619688070 593376074 26401004 51123815 780993228 13183641 266929658 843234344 18993732 ...
|
correct output |
---|
124 1234 1234 24 1 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 12
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 982434756 609937936 695001046 491087928 16349486 790013019 427021425 18691445 123384937 443241449 12436568 ...
|
correct output |
---|
2 1 1234 1234 1 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 13
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 252174733 978347740 84976972 739235003 3453165 183216957 798073359 4958937 54932300 631165519 2427103 ...
|
correct output |
---|
1234 1234 1234 4 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 14
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 962079396 954653252 377813916 356435724 6114019 573684958 814097817 2854710 18344298 745997487 1106881 ...
|
correct output |
---|
1234 3 1234 123 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 15
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 983619508 947923666 48721169 702938953 450395 711039974 141619954 13074117 533030306 254919890 19245304 ...
|
correct output |
---|
13 13 1234 2 4 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 16
Group: 2
Verdict: RUNTIME ERROR
input |
---|
200 100000 1000000000 1000000000 997539459 500000000 1239023 991535567 500000000 1287423 137985 500000000 15999 ...
|
correct output |
---|
12 34 1234 1234 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 17
Group: 2
Verdict: RUNTIME ERROR
input |
---|
8 100000 1000000000 1000000000 200000000 384529926 2147940 400000000 269059852 2147940 400000000 499999960 2147940 ...
|
correct output |
---|
3 2 4 1234 3 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 18
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 994458630 910261182 228672329 565536439 6062123 865578660 350406456 1902914 658300836 250167973 4318414 ...
|
correct output |
---|
1234 12 1234 12 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 19
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 515185242 944723489 362533601 102695020 1535335 367129302 105681887 1044128 78363007 423585007 8499033 ...
|
correct output |
---|
1234 2 1 3 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 20
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 943877407 973718583 554730247 145643422 5156712 450379716 747719842 5552798 359822323 539661121 4496376 ...
|
correct output |
---|
1234 1 4 23 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 21
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 955646071 386812958 78813697 210798005 2565719 428648058 66546609 3699882 44149147 6888916 1802358 ...
|
correct output |
---|
1234 4 1234 4 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 22
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 919439951 944456830 893635539 257036972 4101254 450766196 632933839 3416792 57291728 805137182 2282993 ...
|
correct output |
---|
1234 24 1234 1234 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 23
Group: 3
Verdict: RUNTIME ERROR
input |
---|
2000 100000 1000000000 1000000000 999824177 500000000 111947 345628 500000000 165362 999366104 500000000 16658 ...
|
correct output |
---|
1234 1234 1234 12 12 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|
Test 24
Group: 3
Verdict: RUNTIME ERROR
input |
---|
8 100000 1000000000 1000000000 200000000 384529926 2181527 400000000 269059852 2181527 400000000 499999960 2181527 ...
|
correct output |
---|
1234 1 3 1234 1234 ...
|
user output |
---|
1234 1234 1234 1234 1234 ...
|