aboutsummaryrefslogtreecommitdiff
path: root/semestr-4/sieci/warsztaty8/dat0-gen.sh
blob: a1640b1dc19c2ba9f798c62fd90a592d5791960a (plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/bin/bash

echo -e "2019-01-08 00:00:00\n2019-01-09 00:00:00\n1" > dat1a.in
echo -e "2019-01-25 00:00:00\n2019-02-13 00:00:00\n1" > dat1b.in
echo -e "2019-01-25 00:00:00\n2019-03-13 00:00:00\n1" > dat1c.in
echo -e "2020-01-25 00:00:00\n2020-03-13 00:00:00\n1" > dat1d.in
echo -e "2000-01-25 00:00:00\n2000-03-13 00:00:00\n1" > dat1e.in
echo -e "2019-01-25 00:00:00\n2019-02-27 00:00:00\n1" > dat1f.in
echo -e "2019-01-25 00:00:00\n2019-03-27 00:00:00\n1" > dat1g.in
echo -e "2020-01-25 00:00:00\n2020-03-27 00:00:00\n1" > dat1h.in
echo -e "2000-01-25 00:00:00\n2000-03-27 00:00:00\n1" > dat1i.in
echo -e "2003-01-01 00:00:00\n2004-01-01 00:00:00\n1" > dat1j.in
echo -e "2004-01-01 00:00:00\n2005-01-01 00:00:00\n1" > dat1k.in
echo -e "2000-01-01 00:00:00\n2001-01-01 00:00:00\n1" > dat1l.in
echo -e "1999-01-01 00:00:00\n2000-01-01 00:00:00\n1" > dat1m.in
echo -e "1900-01-01 00:00:00\n2099-12-31 00:00:00\n1" > dat1n.in
echo -e "1945-04-17 00:00:00\n1974-01-17 00:00:00\n1" > dat1o.in
echo -e "2019-02-09 00:00:00\n2030-09-01 00:00:00\n1" > dat1p.in
echo -e "1992-11-13 00:00:00\n2049-01-13 00:00:00\n1" > dat1q.in

echo -e "2019-01-08 00:00:00\n2019-01-09 00:00:00\n2" > dat2a.in
echo -e "2019-01-25 00:00:00\n2019-02-13 00:00:00\n2" > dat2b.in
echo -e "2019-01-25 00:00:00\n2019-03-13 00:00:00\n2" > dat2c.in
echo -e "2020-01-25 00:00:00\n2020-03-13 00:00:00\n2" > dat2d.in
echo -e "2000-01-25 00:00:00\n2000-03-13 00:00:00\n2" > dat2e.in
echo -e "2019-01-25 00:00:00\n2019-02-27 00:00:00\n2" > dat2f.in
echo -e "2019-01-25 00:00:00\n2019-03-27 00:00:00\n2" > dat2g.in
echo -e "2020-01-25 00:00:00\n2020-03-27 00:00:00\n2" > dat2h.in
echo -e "2000-01-25 00:00:00\n2000-03-27 00:00:00\n2" > dat2i.in
echo -e "2003-01-01 00:00:00\n2004-01-01 00:00:00\n2" > dat2j.in
echo -e "2004-01-01 00:00:00\n2005-01-01 00:00:00\n2" > dat2k.in
echo -e "2000-01-01 00:00:00\n2001-01-01 00:00:00\n2" > dat2l.in
echo -e "1999-01-01 00:00:00\n2000-01-01 00:00:00\n2" > dat2m.in
echo -e "1900-01-01 00:00:00\n2099-12-31 00:00:00\n2" > dat2n.in
echo -e "1945-04-17 00:00:00\n1974-01-17 00:00:00\n2" > dat2o.in
echo -e "2019-02-09 00:00:00\n2030-09-01 00:00:00\n2" > dat2p.in
echo -e "1992-11-13 00:00:00\n2049-01-13 00:00:00\n2" > dat2q.in

echo -e "2000-01-01 00:00:00\n2000-01-01 00:00:01\n3" > dat3a.in
echo -e "2000-01-01 00:00:00\n2000-01-01 00:01:00\n3" > dat3b.in
echo -e "2000-01-01 00:00:00\n2000-01-01 01:00:00\n3" > dat3c.in
echo -e "2000-01-01 00:00:00\n2000-01-01 03:17:29\n3" > dat3d.in
echo -e "2000-01-01 00:00:00\n2000-01-01 19:15:59\n3" > dat3e.in
echo -e "2000-01-01 00:00:00\n2000-01-01 23:59:59\n3" > dat3f.in
echo -e "2000-01-01 00:00:01\n2000-01-01 00:01:00\n3" > dat3g.in
echo -e "2000-01-01 00:00:01\n2000-01-01 01:00:00\n3" > dat3h.in
echo -e "2000-01-01 00:00:01\n2000-01-01 03:17:29\n3" > dat3i.in
echo -e "2000-01-01 00:00:01\n2000-01-01 19:15:59\n3" > dat3j.in
echo -e "2000-01-01 00:00:01\n2000-01-01 23:59:59\n3" > dat3k.in
echo -e "2000-01-01 02:01:01\n2000-01-01 03:17:29\n3" > dat3l.in
echo -e "2000-01-01 04:01:01\n2000-01-01 19:15:59\n3" > dat3m.in
echo -e "2000-01-01 04:17:39\n2000-01-01 23:59:59\n3" > dat3n.in
echo -e "2000-01-01 02:01:57\n2000-01-01 03:17:29\n3" > dat3o.in

echo -e "2000-01-01 00:00:00\n2000-01-01 00:00:01\n4" > dat4a.in
echo -e "2000-01-01 00:00:00\n2000-01-01 00:01:00\n4" > dat4b.in
echo -e "2000-01-01 00:00:00\n2000-01-01 01:00:00\n4" > dat4c.in
echo -e "2000-01-01 00:00:00\n2000-01-01 03:17:29\n4" > dat4d.in
echo -e "2000-01-01 00:00:00\n2000-01-01 19:15:59\n4" > dat4e.in
echo -e "2000-01-01 00:00:00\n2000-01-01 23:59:59\n4" > dat4f.in
echo -e "2000-01-01 00:00:01\n2000-01-01 00:01:00\n4" > dat4g.in
echo -e "2000-01-01 00:00:01\n2000-01-01 01:00:00\n4" > dat4h.in
echo -e "2000-01-01 00:00:01\n2000-01-01 03:17:29\n4" > dat4i.in
echo -e "2000-01-01 00:00:01\n2000-01-01 19:15:59\n4" > dat4j.in
echo -e "2000-01-01 00:00:01\n2000-01-01 23:59:59\n4" > dat4k.in
echo -e "2000-01-01 02:01:01\n2000-01-01 03:17:29\n4" > dat4l.in
echo -e "2000-01-01 04:01:01\n2000-01-01 19:15:59\n4" > dat4m.in
echo -e "2000-01-01 04:17:39\n2000-01-01 23:59:59\n4" > dat4n.in
echo -e "2000-01-01 02:01:57\n2000-01-01 03:17:29\n4" > dat4o.in

echo -e "1917-06-04 13:25:19\n2045-04-19 11:17:39\n5" > dat5a.in
echo -e "1992-07-02 00:05:19\n2019-01-08 17:53:13\n5" > dat5b.in
echo -e "1900-01-01 00:00:00\n2099-12-31 23:59:59\n5" > dat5c.in
echo -e "1900-01-01 23:59:59\n2099-12-31 00:00:00\n5" > dat5d.in
echo -e "1959-10-13 17:14:40\n1965-10-25 19:10:53\n5" > dat5e.in
echo -e "2059-04-30 01:15:49\n2071-03-01 10:07:13\n5" > dat5f.in
echo -e "2010-02-19 20:49:10\n2061-02-28 15:40:49\n5" > dat5g.in

echo -e "1917-06-04 13:25:19\n2045-04-19 11:17:39\n6" > dat6a.in
echo -e "1992-07-02 00:05:19\n2019-01-08 17:53:13\n6" > dat6b.in
echo -e "1900-01-01 00:00:00\n2099-12-31 23:59:59\n6" > dat6c.in
echo -e "1900-01-01 23:59:59\n2099-12-31 00:00:00\n6" > dat6d.in
echo -e "1959-10-13 17:14:40\n1965-10-25 19:10:53\n6" > dat6e.in
echo -e "2059-04-30 01:15:49\n2071-03-01 10:07:13\n6" > dat6f.in
echo -e "2010-02-19 20:49:10\n2061-02-28 15:40:49\n6" > dat6g.in

echo -e "2010-10-10 11:59:59\n2010-11-02 10:22:21\n5" > dat5h.in
echo -e "1999-12-31 23:59:59\n2000-01-02 01:01:00\n5" > dat5i.in
echo -e "1985-01-15 21:55:53\n2009-11-12 23:21:10\n5" > dat5j.in
echo -e "2042-04-12 13:14:15\n2042-05-06 01:36:48\n5" > dat5k.in
echo -e "1931-01-01 23:01:58\n1931-01-01 23:59:58\n5" > dat5l.in
echo -e "2002-11-30 01:01:02\n2053-03-04 02:46:42\n5" > dat5m.in
echo -e "2022-02-22 22:59:23\n2022-03-01 04:03:26\n5" > dat5n.in
echo -e "1974-12-12 13:41:42\n2052-07-12 15:14:37\n5" > dat5o.in
echo -e "1922-12-31 23:59:59\n2022-01-02 00:00:00\n5" > dat5p.in

echo -e "1997-01-12 22:59:23\n1997-02-15 00:01:26\n6" > dat6h.in
echo -e "1999-10-12 10:00:00\n2004-04-04 10:10:00\n6" > dat6i.in
echo -e "1923-03-14 11:22:53\n2009-11-12 11:21:34\n6" > dat6j.in
echo -e "2022-12-31 00:01:02\n2022-12-31 01:01:02\n6" > dat6k.in
echo -e "1988-11-11 12:11:59\n1989-01-01 11:10:02\n6" > dat6l.in
echo -e "2002-11-30 01:01:02\n2053-03-04 01:46:42\n6" > dat6m.in
echo -e "2022-02-22 22:59:23\n2022-03-01 03:03:26\n6" > dat6n.in
echo -e "1974-12-12 13:41:42\n2052-07-12 11:14:37\n6" > dat6o.in
echo -e "1922-12-31 23:59:59\n2022-01-02 20:00:00\n6" > dat6p.in

g++ dat0-check.cpp -o dat0-check.e -O2 -std=c++11