1+ UPDATE round set status="N" where status != "";
2+ UPDATE round set status="N" where round_id=1000;
3+ UPDATE round set status="N" where round_id=13672;
4+ UPDATE round set status="N" where round_id=13673;
5+ UPDATE round set status="N" where round_id=13674;
6+ UPDATE round set status="N" where round_id=13675;
7+ UPDATE round set status="N" where round_id=13676;
8+
9+ INSERT INTO contest (contest_id, name, status, group_id) VALUES (2001, "SRM 2001", "A", -1);
10+ INSERT INTO round (round_id, contest_id, name, status, round_type_id, rated_ind) VALUES (3001, 2001, "round 3001", "F", 1, 0);
11+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3001, 1, '2014-09-20 00:00:00', '2014-09-21 00:00:00', 'F');
12+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3001, 2, '2014-09-21 00:00:00', '2014-09-22 00:00:00', 'A');
13+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3001, 3, '2014-09-22 00:00:00', '2014-09-23 00:00:00', 'P');
14+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3001, 4, '2014-09-23 00:00:00', '2014-09-24 00:00:00', 'P');
15+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3001, 5, '2014-09-24 00:00:00', '2014-09-25 00:00:00', 'P');
16+
17+ INSERT INTO contest (contest_id, name, status, group_id) VALUES (2002, "SRM 2002", "A", -1);
18+ INSERT INTO round (round_id, contest_id, name, status, round_type_id, rated_ind) VALUES (3002, 2002, "round 3002", "A", 2, 0);
19+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3002, 1, '2014-10-20 00:00:00', '2014-10-21 00:00:00', 'F');
20+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3002, 2, '2014-10-21 00:00:00', '2014-10-22 00:00:00', 'F');
21+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3002, 3, '2014-10-22 00:00:00', '2014-10-23 00:00:00', 'A');
22+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3002, 4, '2014-10-23 00:00:00', '2014-10-24 00:00:00', 'P');
23+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3002, 5, '2014-10-24 00:00:00', '2014-10-25 00:00:00', 'P');
24+
25+ INSERT INTO contest (contest_id, name, status, group_id) VALUES (2003, "SRM 2003", "A", -1);
26+ INSERT INTO round (round_id, contest_id, name, status, round_type_id, rated_ind) VALUES (3003, 2003, "round 3003", "F", 2, 0);
27+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3003, 1, '2014-09-10 00:00:00', '2014-09-11 00:00:00', 'F');
28+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3003, 2, '2014-09-11 00:00:00', '2014-09-12 00:00:00', 'A');
29+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3003, 3, '2014-09-12 00:00:00', '2014-09-13 00:00:00', 'P');
30+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3003, 4, '2014-09-13 00:00:00', '2014-09-14 00:00:00', 'P');
31+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3003, 5, '2014-09-14 00:00:00', '2014-09-15 00:00:00', 'P');
32+
33+ INSERT INTO contest (contest_id, name, status, group_id) VALUES (2004, "SRM 2004", "A", -1);
34+ INSERT INTO round (round_id, contest_id, name, status, round_type_id, rated_ind) VALUES (3004, 2004, "round 3004", "F", 1, 0);
35+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3004, 1, '2014-09-01 04:00:00', '2014-09-01 05:00:00', 'F');
36+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3004, 2, '2014-09-01 06:00:00', '2014-09-02 00:00:00', 'A');
37+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3004, 3, '2014-09-02 00:00:00', '2014-09-03 00:00:00', 'P');
38+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3004, 4, '2014-09-03 00:00:00', '2014-09-04 00:00:00', 'P');
39+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3004, 5, '2014-09-04 00:00:00', '2014-09-05 00:00:00', 'P');
40+
41+ INSERT INTO contest (contest_id, name, status, group_id) VALUES (2005, "SRM 2005", "A", -1);
42+ INSERT INTO round (round_id, contest_id, name, status, round_type_id, rated_ind) VALUES (3005, 2001, "round 3005", "P", 10, 0);
43+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3005, 1, '2014-09-20 00:00:00', '2014-09-21 00:00:00', 'F');
44+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3005, 2, '2014-09-21 00:00:00', '2014-09-22 00:00:00', 'A');
45+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3005, 3, '2014-09-22 00:00:00', '2014-09-23 00:00:00', 'P');
46+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3005, 4, '2014-09-23 00:00:00', '2014-09-24 00:00:00', 'P');
47+ INSERT INTO round_segment(round_id, segment_id, start_time, end_time, status) VALUES(3005, 5, '2014-09-24 00:00:00', '2014-09-25 00:00:00', 'P');
0 commit comments