aboutsummaryrefslogtreecommitdiffhomepage
path: root/q4.sql
blob: 67b110b92d58e6618d0e23ff54c8fc5c5476c20d (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
INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (1, '0', '0'),
    (1, '-100', '10000'),
    (1, '123', '15129');

INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (2, $$9 3
$$, $$  1  2  3  4  5  6  7  8  9
  2  4  6  8 10 12 14 16 18
  3  6  9 12 15 18 21 24 27
$$),
    (2, $$10 20
$$, $$   1   2   3   4   5   6   7   8   9  10
   2   4   6   8  10  12  14  16  18  20
   3   6   9  12  15  18  21  24  27  30
   4   8  12  16  20  24  28  32  36  40
   5  10  15  20  25  30  35  40  45  50
   6  12  18  24  30  36  42  48  54  60
   7  14  21  28  35  42  49  56  63  70
   8  16  24  32  40  48  56  64  72  80
   9  18  27  36  45  54  63  72  81  90
  10  20  30  40  50  60  70  80  90 100
  11  22  33  44  55  66  77  88  99 110
  12  24  36  48  60  72  84  96 108 120
  13  26  39  52  65  78  91 104 117 130
  14  28  42  56  70  84  98 112 126 140
  15  30  45  60  75  90 105 120 135 150
  16  32  48  64  80  96 112 128 144 160
  17  34  51  68  85 102 119 136 153 170
  18  36  54  72  90 108 126 144 162 180
  19  38  57  76  95 114 133 152 171 190
  20  40  60  80 100 120 140 160 180 200
$$);

INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (3, $$るりいろ
りぬる
いちにち
ほへとちに
いち
ほとはろ
りにへ
いい
いいい
とりほい
いろ
いろいろ
$$, $$いい
いいい
いろ
いろいろ
いち
いちにち
るりいろ
ほへとちに
ほとはろ
とりほい
りにへ
りぬる
$$);

INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (4, $$Foo,zzz
Foo,xxx
Bar,ccc
Bar,bbb
Foo,yyy
Bar,"a, aa, aaa"
Bar,aaa
Foo,"hello, world"
$$, $$Bar,"a, aa, aaa",aaa,bbb,ccc
Foo,"hello, world",xxx,yyy,zzz
$$);

INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (5, $$リンゴ
ライオン
ゴリラ
$$, $$リンゴ
ゴリラ
ライオン
負けました
$$),
    (5, $$リンゴ
ライオン
ゴリラ
$$, $$リンゴ
ゴリラ
ライオン
負けました
$$);

INSERT INTO testcases (problem_id, stdin, stdout)
VALUES
    (6, $$ABC
Hello, world
$$, $$7
47
$$);