node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
2,
39,
17,
17,
28,
13,
13,
0,
18,
13,
2,
13,
17,
17,
14,
2,
17,
13,
4,
13,
17,
14,
2,
17,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
2,
13
] | [
[
47,
2
],
[
50,
14
],
[
21,
20
],
[
48,
20
],
[
28,
23
],
[
51,
24
],
[
20,
26
],
[
51,
32
],
[
51,
39
],
[
47,
48
],
[
50,
51
]
] | [
"inp=list(map(int,input().split()))\nl = [0] * 100\nfor i in inp:\n l[i-1]+=1\nif 2 in l:\n print(2)\nelif 3 in l:\n print(1)\nelse:\n print(3)",
"inp=list(map(int,input().split()))",
"inp",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l = [0] * 100",
"l",
"[0] * 100",
"[0]",
"0",
"100",
"for i in inp:\n l[i-1]+=1",
"i",
"inp",
"l[i-1]+=1",
"l[i-1]",
"l",
"i-1",
"i",
"1",
"1",
"if 2 in l:\n print(2)\nelif 3 in l:\n print(1)\nelse:\n print(3)",
"2 in l",
"2",
"l",
"print(2)",
"print",
"2",
"elif 3 in l:\n print(1)",
"3 in l",
"3",
"l",
"print(1)",
"print",
"1",
"print(3)",
"print",
"3",
"inp=list(map(int,input().split()))",
"list(map(int,input().split()))",
"inp",
"l = [0] * 100",
"[0] * 100",
"l"
] | inp=list(map(int,input().split()))
l = [0] * 100
for i in inp:
l[i-1]+=1
if 2 in l:
print(2)
elif 3 in l:
print(1)
else:
print(3) |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
19,
2
],
[
22,
9
],
[
20,
12
],
[
23,
17
],
[
19,
20
],
[
22,
23
]
] | [
"abc=input().split()\nsort=set(abc)\nprint(len(sort))",
"abc=input().split()",
"abc",
"input().split()",
"().split",
"()",
"input",
"split",
"sort=set(abc)",
"sort",
"set(abc)",
"set",
"abc",
"print(len(sort))",
"print",
"len(sort)",
"len",
"sort",
"abc=input().split()",
"input().split()",
"abc",
"sort=set(abc)",
"set(abc)",
"sort"
] | abc=input().split()
sort=set(abc)
print(len(sort)) |
[
7,
0,
13,
39,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
47,
2
],
[
50,
5
],
[
50,
16
],
[
50,
17
],
[
48,
20
],
[
42,
22
],
[
48,
25
],
[
51,
27
],
[
48,
30
],
[
45,
32
],
[
48,
39
],
[
50,
42
],
[
50,
45
],
[
47,
48
],
[
50,
51
]
] | [
"arr = []\na, b, c =list(map(int, input().split()))\narr.append(a)\narr.append(b)\narr.append(c)\n\nprint(len(set(arr)))",
"arr = []",
"arr",
"[]",
"a, b, c =list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"arr.append(a)",
"arr.append",
"arr",
"append",
"a",
"arr.append(b)",
"arr.append",
"arr",
"append",
"b",
"arr.append(c)",
"arr.append",
"arr",
"append",
"c",
"print(len(set(arr)))",
"print",
"len(set(arr))",
"len",
"set(arr)",
"set",
"arr",
"a, b, c =list(map(int, input().split()))",
"list(map(int, input().split()))",
"a",
"c =list(map(int, input().split()))",
"list(map(int, input().split()))",
"c",
"arr = []",
"[]",
"arr",
"b, c =list(map(int, input().split()))",
"list(map(int, input().split()))",
"b"
] | arr = []
a, b, c =list(map(int, input().split()))
arr.append(a)
arr.append(b)
arr.append(c)
print(len(set(arr))) |
[
7,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
14,
2,
2,
40,
13,
13,
40,
13,
13,
40,
13,
13,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
4,
19
],
[
13,
20
],
[
13,
22
],
[
14,
23
],
[
4,
25
],
[
14,
26
],
[
4,
34
],
[
13,
35
],
[
13,
37
],
[
14,
38
],
[
4,
40
],
[
14,
41
],
[
56,
53
]
] | [
"def iroha():\n a, b, c = map(int, input().split())\n if a == b and b == c and a == c:\n print(1)\n elif a != b and b != c and a != c:\n print(3)\n else:\n print(2)\n\nif __name__ == \"__main__\":\n iroha()\n",
"def iroha():\n a, b, c = map(int, input().split())\n if a == b and b == c and a == c:\n print(1)\n elif a != b and b != c and a != c:\n print(3)\n else:\n print(2)",
"iroha",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == b and b == c and a == c:\n print(1)\n elif a != b and b != c and a != c:\n print(3)\n else:\n print(2)",
"a == b and b == c and a == c",
"a == b and b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"a == c",
"a",
"c",
"print(1)",
"print",
"1",
"elif a != b and b != c and a != c:\n print(3)\n ",
"a != b and b != c and a != c",
"a != b and b != c",
"a != b",
"a",
"b",
"b != c",
"b",
"c",
"a != c",
"a",
"c",
"print(3)",
"print",
"3",
"print(2)",
"print",
"2",
"if __name__ == \"__main__\":\n iroha()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"iroha()",
"iroha",
"def iroha():\n a, b, c = map(int, input().split())\n if a == b and b == c and a == c:\n print(1)\n elif a != b and b != c and a != c:\n print(3)\n else:\n print(2)",
"def iroha():\n a, b, c = map(int, input().split())\n if a == b and b == c and a == c:\n print(1)\n elif a != b and b != c and a != c:\n print(3)\n else:\n print(2)",
"iroha"
] | def iroha():
a, b, c = map(int, input().split())
if a == b and b == c and a == c:
print(1)
elif a != b and b != c and a != c:
print(3)
else:
print(2)
if __name__ == "__main__":
iroha()
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
18,
4,
13,
17,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
25,
2
],
[
26,
23
],
[
25,
26
]
] | [
"s=list(map(int, open(0).read().split()));print(len(set(s)))",
"s=list(map(int, open(0).read().split()))",
"s",
"list(map(int, open(0).read().split()))",
"list",
"map(int, open(0).read().split())",
"map",
"int",
"open(0).read().split()",
"(0).read().split",
"(0).read()",
"(0).read",
"(0)",
"open",
"0",
"read",
"split",
"print(len(set(s)))",
"print",
"len(set(s))",
"len",
"set(s)",
"set",
"s",
"s=list(map(int, open(0).read().split()))",
"list(map(int, open(0).read().split()))",
"s"
] | s=list(map(int, open(0).read().split()));print(len(set(s))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
17,
13
] | [
[
30,
2
],
[
33,
14
],
[
18,
17
],
[
31,
17
],
[
23,
20
],
[
34,
21
],
[
17,
22
],
[
34,
28
],
[
30,
31
],
[
33,
34
]
] | [
"s = list(map(int,input().split()))\ndi = {}\nfor i in s:\n di[i] = 1\nprint(len(di))",
"s = list(map(int,input().split()))",
"s",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"di = {}",
"di",
"{}",
"for i in s:\n di[i] = 1",
"i",
"s",
"di[i] = 1",
"di[i]",
"di",
"i",
"1",
"print(len(di))",
"print",
"len(di)",
"len",
"di",
"s = list(map(int,input().split()))",
"list(map(int,input().split()))",
"s",
"di = {}",
"{}",
"di"
] | s = list(map(int,input().split()))
di = {}
for i in s:
di[i] = 1
print(len(di)) |
[
7,
12,
13,
15,
13,
0,
13,
18,
18,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
15,
15,
15,
15,
15,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
4,
13,
4,
13,
39,
13,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
7,
6
],
[
26,
25
],
[
6,
32
],
[
26,
34
],
[
26,
35
],
[
54,
51
]
] | [
"def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(len(set([a,b,c])))\n\nif __name__ == '__main__':\n main()",
"def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(len(set([a,b,c])))",
"main",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"sys.setrecursionlimit(10**7)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10**7",
"10",
"7",
"from collections import Counter, deque",
"from itertools import combinations, permutations, accumulate, groupby, product",
"from bisect import bisect_left,bisect_right",
"from heapq import heapify, heappop, heappush",
"from math import floor, ceil",
"a,b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"print(len(set([a,b,c])))",
"print",
"len(set([a,b,c]))",
"len",
"set([a,b,c])",
"set",
"[a,b,c]",
"a",
"b",
"c",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(len(set([a,b,c])))",
"def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**7)\n from collections import Counter, deque\n #from collections import defaultdict\n from itertools import combinations, permutations, accumulate, groupby, product\n from bisect import bisect_left,bisect_right\n from heapq import heapify, heappop, heappush\n from math import floor, ceil\n #from operator import itemgetter\n\n #inf = 10**17\n #mod = 10**9 + 7\n\n a,b,c = map(int, input().split())\n print(len(set([a,b,c])))",
"main"
] | def main():
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)
from collections import Counter, deque
#from collections import defaultdict
from itertools import combinations, permutations, accumulate, groupby, product
from bisect import bisect_left,bisect_right
from heapq import heapify, heappop, heappush
from math import floor, ceil
#from operator import itemgetter
#inf = 10**17
#mod = 10**9 + 7
a,b,c = map(int, input().split())
print(len(set([a,b,c])))
if __name__ == '__main__':
main() |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
23,
2
],
[
24,
21
],
[
23,
24
]
] | [
"l = list(map(int, input().split()))\nprint(len(list(set(l))))",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(list(set(l))))",
"print",
"len(list(set(l)))",
"len",
"list(set(l))",
"list",
"set(l)",
"set",
"l",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | l = list(map(int, input().split()))
print(len(list(set(l)))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
13,
0,
18,
13,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
17,
13
] | [
[
25,
2
],
[
28,
9
],
[
13,
12
],
[
26,
12
],
[
18,
15
],
[
29,
16
],
[
12,
17
],
[
29,
23
],
[
25,
26
],
[
28,
29
]
] | [
"# -*- coding: utf-8 -*-\ncolors = input().split()\narr = {}\nfor color in colors:\n arr[color] = 1\n\nprint(len(arr))",
"colors = input().split()",
"colors",
"input().split()",
"().split",
"()",
"input",
"split",
"arr = {}",
"arr",
"{}",
"for color in colors:\n arr[color] = 1",
"color",
"colors",
"arr[color] = 1",
"arr[color]",
"arr",
"color",
"1",
"print(len(arr))",
"print",
"len(arr)",
"len",
"arr",
"colors = input().split()",
"input().split()",
"colors",
"arr = {}",
"{}",
"arr"
] | # -*- coding: utf-8 -*-
colors = input().split()
arr = {}
for color in colors:
arr[color] = 1
print(len(arr)) |
[
7,
14,
2,
13,
17,
0,
13,
4,
13,
41,
28,
13,
4,
18,
4,
18,
13,
13,
13,
17,
4,
4,
13,
13,
0,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
13,
13,
10,
4,
13
] | [
[
38,
6
],
[
12,
11
],
[
39,
16
],
[
11,
23
],
[
35,
25
],
[
36,
33
],
[
35,
36
],
[
38,
39
]
] | [
"if __name__ == '__main__':\n s = input()\n a= [int(elem) for elem in s.rstrip().split(' ')]\n print(len(set(a)))",
"if __name__ == '__main__':\n s = input()\n a= [int(elem) for elem in s.rstrip().split(' ')]\n print(len(set(a)))",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"s = input()",
"s",
"input()",
"input",
"int(elem) for elem in s.rstrip().split(' ')",
"for elem in s.rstrip().split(' ')",
"elem",
"s.rstrip().split(' ')",
"s.rstrip().split",
"s.rstrip()",
"s.rstrip",
"s",
"rstrip",
"split",
"' '",
"for elem in s.rstrip().split(' ')",
"int(elem)",
"int",
"elem",
"a= [int(elem) for elem in s.rstrip().split(' ')]",
"a",
"[int(elem) for elem in s.rstrip().split(' ')]",
"print(len(set(a)))",
"print",
"len(set(a))",
"len",
"set(a)",
"set",
"a",
"a= [int(elem) for elem in s.rstrip().split(' ')]",
"[int(elem) for elem in s.rstrip().split(' ')]",
"a",
"s = input()",
"input()",
"s"
] | if __name__ == '__main__':
s = input()
a= [int(elem) for elem in s.rstrip().split(' ')]
print(len(set(a))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"values = map(int, input().split())\nprint(len(set(values)))",
"values = map(int, input().split())",
"values",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(values)))",
"print",
"len(set(values))",
"len",
"set(values)",
"set",
"values",
"values = map(int, input().split())",
"map(int, input().split())",
"values"
] | values = map(int, input().split())
print(len(set(values))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
21,
2
],
[
22,
19
],
[
21,
22
]
] | [
"l = list(map(int, input().split()))\n\nprint(len(set(l)))",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(l)))",
"print",
"len(set(l))",
"len",
"set(l)",
"set",
"l",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | l = list(map(int, input().split()))
print(len(set(l))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
27,
2
],
[
24,
14
],
[
28,
19
],
[
25,
22
],
[
24,
25
],
[
27,
28
]
] | [
"penki=list(map(int,input().split()))\nans=len(set(penki))\nprint(ans)",
"penki=list(map(int,input().split()))",
"penki",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"ans=len(set(penki))",
"ans",
"len(set(penki))",
"len",
"set(penki)",
"set",
"penki",
"print(ans)",
"print",
"ans",
"ans=len(set(penki))",
"len(set(penki))",
"ans",
"penki=list(map(int,input().split()))",
"list(map(int,input().split()))",
"penki"
] | penki=list(map(int,input().split()))
ans=len(set(penki))
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
27,
2
],
[
24,
14
],
[
28,
17
],
[
25,
22
],
[
28,
22
],
[
24,
25
],
[
27,
28
]
] | [
"color_list = list(map(int, input().split()))\n\ncolor_list = set(color_list)\nprint(len(color_list))",
"color_list = list(map(int, input().split()))",
"color_list",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"color_list = set(color_list)",
"color_list",
"set(color_list)",
"set",
"color_list",
"print(len(color_list))",
"print",
"len(color_list)",
"len",
"color_list",
"color_list = set(color_list)",
"set(color_list)",
"color_list",
"color_list = list(map(int, input().split()))",
"list(map(int, input().split()))",
"color_list"
] | color_list = list(map(int, input().split()))
color_list = set(color_list)
print(len(color_list)) |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
18,
2
],
[
19,
16
],
[
18,
19
]
] | [
"Array= list(input().split())\nprint(len(set(Array)))",
"Array= list(input().split())",
"Array",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(Array)))",
"print",
"len(set(Array))",
"len",
"set(Array)",
"set",
"Array",
"Array= list(input().split())",
"list(input().split())",
"Array"
] | Array= list(input().split())
print(len(set(Array))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
4,
13,
39,
13,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
33,
2
],
[
33,
11
],
[
33,
12
],
[
36,
14
],
[
37,
25
],
[
33,
28
],
[
33,
31
],
[
33,
34
],
[
36,
37
]
] | [
"a,b,c = map(int, input().split())\nans = len(set((a,b,c)))\nprint(ans)",
"a,b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ans = len(set((a,b,c)))",
"ans",
"len(set((a,b,c)))",
"len",
"set((a,b,c))",
"set",
"(a,b,c)",
"a",
"b",
"c",
"print(ans)",
"print",
"ans",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"b,c = map(int, input().split())",
"map(int, input().split())",
"b",
"a,b,c = map(int, input().split())",
"map(int, input().split())",
"a",
"ans = len(set((a,b,c)))",
"len(set((a,b,c)))",
"ans"
] | a,b,c = map(int, input().split())
ans = len(set((a,b,c)))
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
31,
2
],
[
28,
14
],
[
32,
21
],
[
29,
26
],
[
32,
26
],
[
28,
29
],
[
31,
32
]
] | [
"mylist = list(map(int,input().split()))\nmylist = list(dict.fromkeys(mylist))\nprint(len(mylist))",
"mylist = list(map(int,input().split()))",
"mylist",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"mylist = list(dict.fromkeys(mylist))",
"mylist",
"list(dict.fromkeys(mylist))",
"list",
"dict.fromkeys(mylist)",
"dict.fromkeys",
"dict",
"fromkeys",
"mylist",
"print(len(mylist))",
"print",
"len(mylist)",
"len",
"mylist",
"mylist = list(dict.fromkeys(mylist))",
"list(dict.fromkeys(mylist))",
"mylist",
"mylist = list(map(int,input().split()))",
"list(map(int,input().split()))",
"mylist"
] | mylist = list(map(int,input().split()))
mylist = list(dict.fromkeys(mylist))
print(len(mylist)) |
[
7,
15,
13,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13,
13,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
12,
13
] | [
[
46,
4
],
[
19,
18
],
[
47,
27
],
[
18,
35
],
[
44,
41
],
[
46,
47
]
] | [
"import sys\ninput = lambda: sys.stdin.readline().rstrip()\n\ndef main():\n x = list(map(int, input().split()))\n print(len(set(x)))\n \nif __name__ == '__main__':\n main()",
"import sys",
"sys",
"input = lambda: sys.stdin.readline().rstrip()",
"input",
"lambda: sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rstrip",
"def main():\n x = list(map(int, input().split()))\n print(len(set(x)))\n ",
"main",
"x = list(map(int, input().split()))",
"x",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(x)))",
"print",
"len(set(x))",
"len",
"set(x)",
"set",
"x",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"def main():\n x = list(map(int, input().split()))\n print(len(set(x)))\n ",
"def main():\n x = list(map(int, input().split()))\n print(len(set(x)))\n ",
"main",
"input = lambda: sys.stdin.readline().rstrip()",
"lambda: sys.stdin.readline().rstrip()",
"input"
] | import sys
input = lambda: sys.stdin.readline().rstrip()
def main():
x = list(map(int, input().split()))
print(len(set(x)))
if __name__ == '__main__':
main() |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"answer_set=set(input().split())\nprint(len(answer_set))",
"answer_set=set(input().split())",
"answer_set",
"set(input().split())",
"set",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(answer_set))",
"print",
"len(answer_set)",
"len",
"answer_set",
"answer_set=set(input().split())",
"set(input().split())",
"answer_set"
] | answer_set=set(input().split())
print(len(answer_set)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
40,
13,
13,
40,
13,
13,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
53,
2
],
[
53,
11
],
[
53,
12
],
[
38,
14
],
[
48,
19
],
[
54,
20
],
[
48,
22
],
[
51,
23
],
[
41,
25
],
[
54,
29
],
[
51,
30
],
[
44,
32
],
[
45,
36
],
[
42,
36
],
[
39,
36
],
[
38,
39
],
[
41,
42
],
[
44,
45
],
[
53,
48
],
[
53,
51
],
[
53,
54
]
] | [
"a, b, c = map(int, input().split())\nans = 1\n\nif(a != b and a != c):\n ans += 1\nif(b != c):\n ans += 1\n \nprint(ans)",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ans = 1",
"ans",
"1",
"if(a != b and a != c):\n ans += 1",
"a != b and a != c",
"a != b",
"a",
"b",
"a != c",
"a",
"c",
"ans += 1",
"ans",
"1",
"if(b != c):\n ans += 1\n ",
"b != c",
"b",
"c",
"ans += 1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"ans = 1",
"1",
"ans",
"ans += 1",
"1",
"ans",
"ans += 1",
"1",
"ans",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b"
] | a, b, c = map(int, input().split())
ans = 1
if(a != b and a != c):
ans += 1
if(b != c):
ans += 1
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"# coding: utf-8\nlst = set(map(int, input().split()))\nprint(len(lst))",
"lst = set(map(int, input().split()))",
"lst",
"set(map(int, input().split()))",
"set",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(lst))",
"print",
"len(lst)",
"len",
"lst",
"lst = set(map(int, input().split()))",
"set(map(int, input().split()))",
"lst"
] | # coding: utf-8
lst = set(map(int, input().split()))
print(len(lst)) |
[
7,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
20,
3
],
[
21,
18
],
[
20,
21
]
] | [
"# -*- coding: utf-8 -*-\n\"\"\"\nCreated on Thu May 14 18:26:24 2020\n\n@author: shinba\n\"\"\"\n\nA = set(map(int,input().split()))\n\nprint(len(A))",
"\"\"\"\nCreated on Thu May 14 18:26:24 2020\n\n@author: shinba\n\"\"\"",
"A = set(map(int,input().split()))",
"A",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(A))",
"print",
"len(A)",
"len",
"A",
"A = set(map(int,input().split()))",
"set(map(int,input().split()))",
"A"
] | # -*- coding: utf-8 -*-
"""
Created on Thu May 14 18:26:24 2020
@author: shinba
"""
A = set(map(int,input().split()))
print(len(A)) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
24,
14
],
[
25,
22
],
[
24,
25
]
] | [
"p_list = [int(x) for x in input().split()]\nprint(len(set(p_list)))",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"p_list = [int(x) for x in input().split()]",
"p_list",
"[int(x) for x in input().split()]",
"print(len(set(p_list)))",
"print",
"len(set(p_list))",
"len",
"set(p_list)",
"set",
"p_list",
"p_list = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"p_list"
] | p_list = [int(x) for x in input().split()]
print(len(set(p_list))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
25,
2
],
[
25,
8
],
[
25,
9
],
[
28,
11
],
[
29,
17
],
[
25,
20
],
[
25,
23
],
[
25,
26
],
[
28,
29
]
] | [
"a,b,c=input().split()\nset={a,b,c}\nprint(len(set))",
"a,b,c=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"set={a,b,c}",
"set",
"{a,b,c}",
"print(len(set))",
"print",
"len(set)",
"len",
"set",
"b,c=input().split()",
"input().split()",
"b",
"a,b,c=input().split()",
"input().split()",
"a",
"c=input().split()",
"input().split()",
"c",
"set={a,b,c}",
"{a,b,c}",
"set"
] | a,b,c=input().split()
set={a,b,c}
print(len(set)) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"x = set(map(int, input().split()))\nprint(len(x))\n\n\n\n\n\n\n\n\n",
"x = set(map(int, input().split()))",
"x",
"set(map(int, input().split()))",
"set",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(x))",
"print",
"len(x)",
"len",
"x",
"x = set(map(int, input().split()))",
"set(map(int, input().split()))",
"x"
] | x = set(map(int, input().split()))
print(len(x))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
18,
4,
13,
13,
13,
17,
4,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
58,
2
],
[
59,
19
],
[
59,
24
],
[
59,
27
],
[
59,
32
],
[
59,
35
],
[
59,
46
],
[
59,
49
],
[
58,
59
]
] | [
"A = list(map(int,input().rstrip().split(\" \")))\nA.sort()\nif A[0] == A[1]:\n if A[1] == A[2]:\n print(1)\n else:\n print(2)\nelse:\n if A[1] == A[2]:\n print(2)\n else:\n print(3)",
"A = list(map(int,input().rstrip().split(\" \")))",
"A",
"list(map(int,input().rstrip().split(\" \")))",
"list",
"map(int,input().rstrip().split(\" \"))",
"map",
"int",
"input().rstrip().split(\" \")",
"().rstrip().split",
"().rstrip()",
"().rstrip",
"()",
"input",
"rstrip",
"split",
"\" \"",
"A.sort()",
"A.sort",
"A",
"sort",
"if A[0] == A[1]:\n if A[1] == A[2]:\n print(1)\n else:\n print(2)\nelse:\n if A[1] == A[2]:\n print(2)\n else:\n print(3)",
"A[0] == A[1]",
"A[0]",
"A",
"0",
"A[1]",
"A",
"1",
"if A[1] == A[2]:\n print(1)\n else:\n print(2)",
"A[1] == A[2]",
"A[1]",
"A",
"1",
"A[2]",
"A",
"2",
"print(1)",
"print",
"1",
"print(2)",
"print",
"2",
"if A[1] == A[2]:\n print(2)\n else:\n print(3)",
"A[1] == A[2]",
"A[1]",
"A",
"1",
"A[2]",
"A",
"2",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"A = list(map(int,input().rstrip().split(\" \")))",
"list(map(int,input().rstrip().split(\" \")))",
"A"
] | A = list(map(int,input().rstrip().split(" ")))
A.sort()
if A[0] == A[1]:
if A[1] == A[2]:
print(1)
else:
print(2)
else:
if A[1] == A[2]:
print(2)
else:
print(3)
|
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
70,
2
],
[
70,
8
],
[
70,
9
],
[
67,
11
],
[
68,
18
],
[
68,
24
],
[
68,
27
],
[
68,
30
],
[
68,
38
],
[
68,
41
],
[
68,
49
],
[
68,
52
],
[
70,
62
],
[
70,
65
],
[
67,
68
],
[
70,
71
]
] | [
"a,b,c=input().split()\nls=[a,b,c]\nls.sort()\nif ls[0]==ls[1]==ls[2]:\n print(\"1\")\nelse:\n if ls[0]==ls[1]:\n print(\"2\")\n else:\n if ls[1]==ls[2]:\n print(\"2\")\n else:\n print(\"3\")",
"a,b,c=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ls=[a,b,c]",
"ls",
"[a,b,c]",
"a",
"b",
"c",
"ls.sort()",
"ls.sort",
"ls",
"sort",
"if ls[0]==ls[1]==ls[2]:\n print(\"1\")\nelse:\n if ls[0]==ls[1]:\n print(\"2\")\n else:\n if ls[1]==ls[2]:\n print(\"2\")\n else:\n print(\"3\")",
"ls[0]==ls[1]==ls[2]",
"ls[0]==ls[1]",
"ls[0]",
"ls",
"0",
"ls[1]",
"ls",
"1",
"ls[2]",
"ls",
"2",
"print(\"1\")",
"print",
"\"1\"",
"if ls[0]==ls[1]:\n print(\"2\")\n else:\n if ls[1]==ls[2]:\n print(\"2\")\n else:\n print(\"3\")",
"ls[0]==ls[1]",
"ls[0]",
"ls",
"0",
"ls[1]",
"ls",
"1",
"print(\"2\")",
"print",
"\"2\"",
"if ls[1]==ls[2]:\n print(\"2\")\n else:\n print(\"3\")",
"ls[1]==ls[2]",
"ls[1]",
"ls",
"1",
"ls[2]",
"ls",
"2",
"print(\"2\")",
"print",
"\"2\"",
"print(\"3\")",
"print",
"\"3\"",
"a,b,c=input().split()",
"input().split()",
"a",
"c=input().split()",
"input().split()",
"c",
"ls=[a,b,c]",
"[a,b,c]",
"ls",
"b,c=input().split()",
"input().split()",
"b"
] | a,b,c=input().split()
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]==ls[2]:
print("1")
else:
if ls[0]==ls[1]:
print("2")
else:
if ls[1]==ls[2]:
print("2")
else:
print("3") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
14,
2,
2,
40,
13,
13,
40,
13,
13,
40,
13,
13,
4,
13,
17,
14,
2,
2,
13,
13,
13,
4,
13,
17,
4,
13,
17,
10,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
53,
2
],
[
53,
11
],
[
53,
12
],
[
44,
14
],
[
48,
20
],
[
51,
21
],
[
51,
23
],
[
54,
24
],
[
54,
26
],
[
48,
27
],
[
48,
34
],
[
51,
35
],
[
54,
36
],
[
44,
45
],
[
53,
48
],
[
53,
51
],
[
53,
54
]
] | [
"a,b,c = map(int,input().split())\nd =[]\nif a != b and b != c and c != a:\n print(3)\nelif a == b == c:\n print(1)\nelse:\n print(2)",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"d =[]",
"d",
"[]",
"if a != b and b != c and c != a:\n print(3)\nelif a == b == c:\n print(1)\nelse:\n print(2)",
"a != b and b != c and c != a",
"a != b and b != c",
"a != b",
"a",
"b",
"b != c",
"b",
"c",
"c != a",
"c",
"a",
"print(3)",
"print",
"3",
"elif a == b == c:\n print(1)",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"print(2)",
"print",
"2",
"d =[]",
"[]",
"d",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"c = map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c = map(int,input().split())
d =[]
if a != b and b != c and c != a:
print(3)
elif a == b == c:
print(1)
else:
print(2) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
13,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
65,
2
],
[
65,
11
],
[
65,
12
],
[
50,
14
],
[
57,
18
],
[
63,
19
],
[
68,
21
],
[
63,
25
],
[
66,
26
],
[
59,
28
],
[
66,
32
],
[
57,
33
],
[
71,
35
],
[
57,
40
],
[
63,
41
],
[
66,
42
],
[
53,
44
],
[
54,
48
],
[
72,
48
],
[
60,
48
],
[
69,
48
],
[
51,
48
],
[
50,
51
],
[
53,
54
],
[
65,
57
],
[
59,
60
],
[
65,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
]
] | [
"a,b,c=map(int,input().split())\ncnt=3\n\nif a==b:\n cnt-=1\n\nif b==c:\n cnt-=1\n\nif c==a:\n cnt-=1\n\nif a==b==c:\n cnt+=1\n\nprint(cnt)",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"cnt=3",
"cnt",
"3",
"if a==b:\n cnt-=1",
"a==b",
"a",
"b",
"cnt-=1",
"cnt",
"1",
"if b==c:\n cnt-=1",
"b==c",
"b",
"c",
"cnt-=1",
"cnt",
"1",
"if c==a:\n cnt-=1",
"c==a",
"c",
"a",
"cnt-=1",
"cnt",
"1",
"if a==b==c:\n cnt+=1",
"a==b==c",
"a==b",
"a",
"b",
"c",
"cnt+=1",
"cnt",
"1",
"print(cnt)",
"print",
"cnt",
"cnt=3",
"3",
"cnt",
"cnt+=1",
"1",
"cnt",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"cnt-=1",
"1",
"cnt",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"cnt-=1",
"1",
"cnt",
"cnt-=1",
"1",
"cnt"
] | a,b,c=map(int,input().split())
cnt=3
if a==b:
cnt-=1
if b==c:
cnt-=1
if c==a:
cnt-=1
if a==b==c:
cnt+=1
print(cnt) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
0,
13,
39,
28,
13,
13,
14,
40,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
39,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
40,
14
],
[
37,
17
],
[
21,
20
],
[
41,
20
],
[
20,
24
],
[
38,
25
],
[
38,
28
],
[
20,
30
],
[
38,
35
],
[
37,
38
],
[
40,
41
]
] | [
"a=[int(i) for i in input().split()]\nb=[]\nfor i in a:\n if i not in b:\n b.append(i)\nprint(len(b))",
"int(i) for i in input().split()",
"for i in input().split()",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"int(i)",
"int",
"i",
"a=[int(i) for i in input().split()]",
"a",
"[int(i) for i in input().split()]",
"b=[]",
"b",
"[]",
"for i in a:\n if i not in b:\n b.append(i)",
"i",
"a",
"if i not in b:\n b.append(i)",
"i not in b",
"i",
"b",
"b.append(i)",
"b.append",
"b",
"append",
"i",
"print(len(b))",
"print",
"len(b)",
"len",
"b",
"b=[]",
"[]",
"b",
"a=[int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"a"
] | a=[int(i) for i in input().split()]
b=[]
for i in a:
if i not in b:
b.append(i)
print(len(b)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
58,
2
],
[
58,
11
],
[
58,
12
],
[
61,
14
],
[
50,
20
],
[
59,
21
],
[
59,
23
],
[
56,
24
],
[
56,
26
],
[
50,
27
],
[
52,
29
],
[
50,
34
],
[
59,
35
],
[
59,
37
],
[
56,
38
],
[
46,
40
],
[
47,
44
],
[
53,
44
],
[
62,
44
],
[
46,
47
],
[
58,
50
],
[
52,
53
],
[
58,
56
],
[
58,
59
],
[
61,
62
]
] | [
"a, b, c = map(int,input().split())\nn=3\nif a==b or b==c or c==a:\n n=2\n if a==b and b==c:\n n=1\n\nprint(n) ",
"a, b, c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"n=3",
"n",
"3",
"if a==b or b==c or c==a:\n n=2\n if a==b and b==c:\n n=1",
"a==b or b==c or c==a",
"a==b or b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"c==a",
"c",
"a",
"n=2",
"n",
"2",
"if a==b and b==c:\n n=1",
"a==b and b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"n=1",
"n",
"1",
"print(n)",
"print",
"n",
"n=1",
"1",
"n",
"a, b, c = map(int,input().split())",
"map(int,input().split())",
"a",
"n=2",
"2",
"n",
"c = map(int,input().split())",
"map(int,input().split())",
"c",
"b, c = map(int,input().split())",
"map(int,input().split())",
"b",
"n=3",
"3",
"n"
] | a, b, c = map(int,input().split())
n=3
if a==b or b==c or c==a:
n=2
if a==b and b==c:
n=1
print(n) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
2,
40,
13,
13,
13,
2,
40,
13,
13,
13,
2,
40,
13,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
53,
2
],
[
53,
11
],
[
53,
12
],
[
51,
16
],
[
54,
17
],
[
48,
18
],
[
51,
27
],
[
54,
28
],
[
48,
29
],
[
54,
32
],
[
48,
33
],
[
51,
34
],
[
48,
37
],
[
51,
38
],
[
54,
39
],
[
53,
48
],
[
53,
51
],
[
53,
54
]
] | [
"a,b,c = map( int, input().split())\nif a == b == c :\n print(1)\nelif a!=b==c or b!=c==a or c!=a==b :\n print(2)\nelse:\n print(3)",
"a,b,c = map( int, input().split())",
"a",
"map( int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == b == c :\n print(1)\nelif a!=b==c or b!=c==a or c!=a==b :\n print(2)\nelse:\n print(3)",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"elif a!=b==c or b!=c==a or c!=a==b :\n print(2)",
"a!=b==c or b!=c==a or c!=a==b",
"a!=b==c or b!=c==a",
"a!=b==c",
"a!=b",
"a",
"b",
"c",
"b!=c==a",
"b!=c",
"b",
"c",
"a",
"c!=a==b",
"c!=a",
"c",
"a",
"b",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"c = map( int, input().split())",
"map( int, input().split())",
"c",
"a,b,c = map( int, input().split())",
"map( int, input().split())",
"a",
"b,c = map( int, input().split())",
"map( int, input().split())",
"b"
] | a,b,c = map( int, input().split())
if a == b == c :
print(1)
elif a!=b==c or b!=c==a or c!=a==b :
print(2)
else:
print(3) |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
2,
17,
17,
0,
13,
17,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
29,
14,
2,
13,
17,
4,
13,
10,
18,
13,
10,
2,
13,
10,
17,
13,
10,
12,
13,
10,
18,
13,
10,
18,
13
] | [
[
66,
4
],
[
81,
11
],
[
78,
18
],
[
69,
32
],
[
72,
37
],
[
43,
42
],
[
82,
51
],
[
42,
57
],
[
76,
64
],
[
66,
67
],
[
69,
70
],
[
72,
73
],
[
78,
79
],
[
81,
82
]
] | [
"import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n P = set(map(int, readline().split()))\n\n print(len(P))\n\n return\n\n\nif __name__ == '__main__':\n main()",
"import sys",
"sys",
"read = sys.stdin.read",
"read",
"sys.stdin.read",
"sys.stdin",
"sys",
"stdin",
"read",
"readline = sys.stdin.readline",
"readline",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"readlines = sys.stdin.readlines",
"readlines",
"sys.stdin.readlines",
"sys.stdin",
"sys",
"stdin",
"readlines",
"sys.setrecursionlimit(10 ** 9)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 9",
"10",
"9",
"INF = 1 << 60",
"INF",
"1 << 60",
"1",
"60",
"MOD = 1000000007",
"MOD",
"1000000007",
"def main():\n P = set(map(int, readline().split()))\n\n print(len(P))\n\n return",
"main",
"P = set(map(int, readline().split()))",
"P",
"set(map(int, readline().split()))",
"set",
"map(int, readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"print(len(P))",
"print",
"len(P)",
"len",
"P",
"return",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"read = sys.stdin.read",
"sys.stdin.read",
"read",
"INF = 1 << 60",
"1 << 60",
"INF",
"MOD = 1000000007",
"1000000007",
"MOD",
"def main():\n P = set(map(int, readline().split()))\n\n print(len(P))\n\n return",
"def main():\n P = set(map(int, readline().split()))\n\n print(len(P))\n\n return",
"main",
"readlines = sys.stdin.readlines",
"sys.stdin.readlines",
"readlines",
"readline = sys.stdin.readline",
"sys.stdin.readline",
"readline"
] | import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007
def main():
P = set(map(int, readline().split()))
print(len(P))
return
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
24,
2
],
[
27,
14
],
[
25,
17
],
[
28,
22
],
[
25,
22
],
[
24,
25
],
[
27,
28
]
] | [
"arr = list(map(int, input().split()))\narr = set(arr)\nprint(len(arr))",
"arr = list(map(int, input().split()))",
"arr",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"arr = set(arr)",
"arr",
"set(arr)",
"set",
"arr",
"print(len(arr))",
"print",
"len(arr)",
"len",
"arr",
"arr = list(map(int, input().split()))",
"list(map(int, input().split()))",
"arr",
"arr = set(arr)",
"set(arr)",
"arr"
] | arr = list(map(int, input().split()))
arr = set(arr)
print(len(arr)) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
40,
2,
13,
13,
0,
18,
13,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
13,
13,
10,
17,
13
] | [
[
4,
3
],
[
3,
12
],
[
48,
14
],
[
42,
17
],
[
51,
20
],
[
24,
23
],
[
49,
23
],
[
23,
28
],
[
52,
29
],
[
34,
31
],
[
52,
32
],
[
23,
33
],
[
45,
36
],
[
46,
40
],
[
43,
40
],
[
42,
43
],
[
45,
46
],
[
48,
49
],
[
51,
52
]
] | [
"A = [int(x) for x in input().split()]\nans = 0\ndic = {}\nfor x in A:\n if not x in dic:\n dic[x] = True\n ans += 1\nprint(ans)",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"A = [int(x) for x in input().split()]",
"A",
"[int(x) for x in input().split()]",
"ans = 0",
"ans",
"0",
"dic = {}",
"dic",
"{}",
"for x in A:\n if not x in dic:\n dic[x] = True\n ans += 1",
"x",
"A",
"if not x in dic:\n dic[x] = True\n ans += 1",
"not x in dic",
"x in dic",
"x",
"dic",
"dic[x] = True",
"dic[x]",
"dic",
"x",
"True",
"ans += 1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"ans = 0",
"0",
"ans",
"ans += 1",
"1",
"ans",
"A = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"A",
"dic = {}",
"{}",
"dic"
] | A = [int(x) for x in input().split()]
ans = 0
dic = {}
for x in A:
if not x in dic:
dic[x] = True
ans += 1
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"color = set(map(int,input().split())) #set型 集合を扱う型(重複要素は含まない)\nprint(len(color))",
"color = set(map(int,input().split()))",
"color",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(color))",
"print",
"len(color)",
"len",
"color",
"color = set(map(int,input().split()))",
"set(map(int,input().split()))",
"color"
] | color = set(map(int,input().split())) #set型 集合を扱う型(重複要素は含まない)
print(len(color)) |
[
7,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
0,
13,
39,
28,
13,
13,
14,
40,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
38,
2
],
[
32,
6
],
[
39,
9
],
[
35,
12
],
[
16,
15
],
[
33,
15
],
[
15,
19
],
[
36,
20
],
[
36,
23
],
[
15,
25
],
[
36,
30
],
[
32,
33
],
[
35,
36
],
[
38,
39
]
] | [
"j = (input())\n\nx = j.split()\ny = []\n\nfor i in x:\n if(i not in y):\n y.append(i)\nprint(len(y))",
"j = (input())",
"j",
"input()",
"input",
"x = j.split()",
"x",
"j.split()",
"j.split",
"j",
"split",
"y = []",
"y",
"[]",
"for i in x:\n if(i not in y):\n y.append(i)",
"i",
"x",
"if(i not in y):\n y.append(i)",
"i not in y",
"i",
"y",
"y.append(i)",
"y.append",
"y",
"append",
"i",
"print(len(y))",
"print",
"len(y)",
"len",
"y",
"x = j.split()",
"j.split()",
"x",
"y = []",
"[]",
"y",
"j = (input())",
"input()",
"j"
] | j = (input())
x = j.split()
y = []
for i in x:
if(i not in y):
y.append(i)
print(len(y))
|
[
7,
15,
13,
0,
13,
4,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
28,
4
],
[
25,
13
],
[
29,
18
],
[
26,
23
],
[
25,
26
],
[
28,
29
]
] | [
"import collections\n\nn = list(input().split())\n\nc = collections.Counter(n)\n\nprint(len(c))",
"import collections",
"collections",
"n = list(input().split())",
"n",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"c = collections.Counter(n)",
"c",
"collections.Counter(n)",
"collections.Counter",
"collections",
"Counter",
"n",
"print(len(c))",
"print",
"len(c)",
"len",
"c",
"c = collections.Counter(n)",
"collections.Counter(n)",
"c",
"n = list(input().split())",
"list(input().split())",
"n"
] | import collections
n = list(input().split())
c = collections.Counter(n)
print(len(c)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13
] | [
[
41,
2
],
[
41,
11
],
[
41,
12
],
[
44,
14
],
[
35,
20
],
[
45,
25
],
[
36,
30
],
[
45,
30
],
[
41,
33
],
[
35,
36
],
[
41,
39
],
[
41,
42
],
[
44,
45
]
] | [
"a,b,c = map(int,input().split())\nd=[a,b,c]\nd =list(set(d))\nprint(len(d))",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"d=[a,b,c]",
"d",
"[a,b,c]",
"a",
"b",
"c",
"d =list(set(d))",
"d",
"list(set(d))",
"list",
"set(d)",
"set",
"d",
"print(len(d))",
"print",
"len(d)",
"len",
"d",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"d =list(set(d))",
"list(set(d))",
"d",
"c = map(int,input().split())",
"map(int,input().split())",
"c",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"d=[a,b,c]",
"[a,b,c]",
"d"
] | a,b,c = map(int,input().split())
d=[a,b,c]
d =list(set(d))
print(len(d)) |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
18,
4,
18,
18,
13,
13,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
30,
4
],
[
31,
28
],
[
30,
31
]
] | [
"import sys\nA = list(map(int,sys.stdin.readline().rstrip().split()))\nprint(len(set(A)))",
"import sys",
"sys",
"A = list(map(int,sys.stdin.readline().rstrip().split()))",
"A",
"list(map(int,sys.stdin.readline().rstrip().split()))",
"list",
"map(int,sys.stdin.readline().rstrip().split())",
"map",
"int",
"sys.stdin.readline().rstrip().split()",
"sys.stdin.readline().rstrip().split",
"sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rstrip",
"split",
"print(len(set(A)))",
"print",
"len(set(A))",
"len",
"set(A)",
"set",
"A",
"A = list(map(int,sys.stdin.readline().rstrip().split()))",
"list(map(int,sys.stdin.readline().rstrip().split()))",
"A"
] | import sys
A = list(map(int,sys.stdin.readline().rstrip().split()))
print(len(set(A))) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
14,
2,
2,
40,
13,
13,
40,
13,
13,
40,
13,
13,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
58,
14
],
[
58,
16
],
[
58,
17
],
[
59,
22
],
[
56,
23
],
[
56,
25
],
[
53,
26
],
[
53,
28
],
[
59,
29
],
[
59,
37
],
[
56,
38
],
[
56,
40
],
[
53,
41
],
[
53,
43
],
[
59,
44
],
[
58,
53
],
[
58,
56
],
[
58,
59
]
] | [
"#ABC046A https://atcoder.jp/contests/abc046/tasks/abc046_a\n\na,b,c=(int(x) for x in input().split())\n\nif a==b and b==c and c==a:\n print(1)\nelif a!=b and b!=c and c!=a:\n print(3)\nelse:\n print(2)",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a,b,c=(int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"if a==b and b==c and c==a:\n print(1)\nelif a!=b and b!=c and c!=a:\n print(3)\nelse:\n print(2)",
"a==b and b==c and c==a",
"a==b and b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"c==a",
"c",
"a",
"print(1)",
"print",
"1",
"elif a!=b and b!=c and c!=a:\n print(3)",
"a!=b and b!=c and c!=a",
"a!=b and b!=c",
"a!=b",
"a",
"b",
"b!=c",
"b",
"c",
"c!=a",
"c",
"a",
"print(3)",
"print",
"3",
"print(2)",
"print",
"2",
"c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c",
"b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b",
"a,b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a"
] | #ABC046A https://atcoder.jp/contests/abc046/tasks/abc046_a
a,b,c=(int(x) for x in input().split())
if a==b and b==c and c==a:
print(1)
elif a!=b and b!=c and c!=a:
print(3)
else:
print(2)
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
2,
39,
17,
17,
28,
13,
13,
0,
18,
13,
13,
17,
4,
13,
4,
13,
4,
13,
4,
13,
12,
40,
13,
17,
23,
13,
10,
2,
13,
10,
4,
13
] | [
[
45,
2
],
[
42,
14
],
[
21,
20
],
[
46,
20
],
[
26,
23
],
[
43,
24
],
[
20,
25
],
[
43,
40
],
[
42,
43
],
[
45,
46
]
] | [
"a = list(map(int, input().split()))\n\nl = [0]*101\n\nfor i in a:\n l[i] += 1\n\nprint(len(list(filter(lambda x: x !=0, l))))",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l = [0]*101",
"l",
"[0]*101",
"[0]",
"0",
"101",
"for i in a:\n l[i] += 1",
"i",
"a",
"l[i] += 1",
"l[i]",
"l",
"i",
"1",
"print(len(list(filter(lambda x: x !=0, l))))",
"print",
"len(list(filter(lambda x: x !=0, l)))",
"len",
"list(filter(lambda x: x !=0, l))",
"list",
"filter(lambda x: x !=0, l)",
"filter",
"lambda x: x !=0",
"x !=0",
"x",
"0",
"x",
"l",
"l = [0]*101",
"[0]*101",
"l",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a"
] | a = list(map(int, input().split()))
l = [0]*101
for i in a:
l[i] += 1
print(len(list(filter(lambda x: x !=0, l)))) |
[
7,
41,
28,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
0,
13,
13,
0,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
0,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
0,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
0,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
13,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
4,
3
],
[
3,
13
],
[
75,
15
],
[
81,
18
],
[
76,
23
],
[
76,
26
],
[
84,
29
],
[
76,
34
],
[
76,
37
],
[
87,
40
],
[
76,
45
],
[
76,
48
],
[
78,
51
],
[
76,
57
],
[
76,
60
],
[
76,
63
],
[
72,
66
],
[
73,
70
],
[
79,
70
],
[
88,
70
],
[
85,
70
],
[
82,
70
],
[
72,
73
],
[
75,
76
],
[
78,
79
],
[
81,
82
],
[
84,
85
],
[
87,
88
]
] | [
"penki = [i for i in map(int, input().split())]\ncount = 3\nif penki[0] == penki[1]:\n count -= 1\nif penki[0] == penki[2]:\n count -= 1\nif penki[1] == penki[2]:\n count -= 1\nif penki[1] == penki[2] == penki[0]:\n count += 1\nprint(count)",
"i for i in map(int, input().split())",
"for i in map(int, input().split())",
"i",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in map(int, input().split())",
"i",
"penki = [i for i in map(int, input().split())]",
"penki",
"[i for i in map(int, input().split())]",
"count = 3",
"count",
"3",
"if penki[0] == penki[1]:\n count -= 1",
"penki[0] == penki[1]",
"penki[0]",
"penki",
"0",
"penki[1]",
"penki",
"1",
"count -= 1",
"count",
"1",
"if penki[0] == penki[2]:\n count -= 1",
"penki[0] == penki[2]",
"penki[0]",
"penki",
"0",
"penki[2]",
"penki",
"2",
"count -= 1",
"count",
"1",
"if penki[1] == penki[2]:\n count -= 1",
"penki[1] == penki[2]",
"penki[1]",
"penki",
"1",
"penki[2]",
"penki",
"2",
"count -= 1",
"count",
"1",
"if penki[1] == penki[2] == penki[0]:\n count += 1",
"penki[1] == penki[2] == penki[0]",
"penki[1] == penki[2]",
"penki[1]",
"penki",
"1",
"penki[2]",
"penki",
"2",
"penki[0]",
"penki",
"0",
"count += 1",
"count",
"1",
"print(count)",
"print",
"count",
"count += 1",
"1",
"count",
"penki = [i for i in map(int, input().split())]",
"[i for i in map(int, input().split())]",
"penki",
"count -= 1",
"1",
"count",
"count = 3",
"3",
"count",
"count -= 1",
"1",
"count",
"count -= 1",
"1",
"count"
] | penki = [i for i in map(int, input().split())]
count = 3
if penki[0] == penki[1]:
count -= 1
if penki[0] == penki[2]:
count -= 1
if penki[1] == penki[2]:
count -= 1
if penki[1] == penki[2] == penki[0]:
count += 1
print(count) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
13,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
65,
2
],
[
65,
11
],
[
65,
12
],
[
68,
14
],
[
63,
18
],
[
66,
19
],
[
53,
21
],
[
63,
25
],
[
57,
26
],
[
50,
28
],
[
66,
32
],
[
57,
33
],
[
71,
35
],
[
63,
40
],
[
66,
41
],
[
57,
42
],
[
59,
44
],
[
60,
48
],
[
72,
48
],
[
51,
48
],
[
54,
48
],
[
69,
48
],
[
50,
51
],
[
53,
54
],
[
65,
57
],
[
59,
60
],
[
65,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
]
] | [
"a,b,c = map(int,input().split())\nans = 3\nif a == b:\n ans = 2\nif a == c:\n ans = 2\nif b == c:\n ans = 2\nif a == b == c:\n ans = 1\n\nprint(ans)",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ans = 3",
"ans",
"3",
"if a == b:\n ans = 2",
"a == b",
"a",
"b",
"ans = 2",
"ans",
"2",
"if a == c:\n ans = 2",
"a == c",
"a",
"c",
"ans = 2",
"ans",
"2",
"if b == c:\n ans = 2",
"b == c",
"b",
"c",
"ans = 2",
"ans",
"2",
"if a == b == c:\n ans = 1",
"a == b == c",
"a == b",
"a",
"b",
"c",
"ans = 1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"ans = 2",
"2",
"ans",
"ans = 2",
"2",
"ans",
"c = map(int,input().split())",
"map(int,input().split())",
"c",
"ans = 1",
"1",
"ans",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"ans = 3",
"3",
"ans",
"ans = 2",
"2",
"ans"
] | a,b,c = map(int,input().split())
ans = 3
if a == b:
ans = 2
if a == c:
ans = 2
if b == c:
ans = 2
if a == b == c:
ans = 1
print(ans) |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
39,
28,
13,
13,
14,
40,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
39,
13
] | [
[
29,
2
],
[
32,
9
],
[
13,
12
],
[
30,
12
],
[
12,
16
],
[
33,
17
],
[
33,
20
],
[
12,
22
],
[
33,
27
],
[
29,
30
],
[
32,
33
]
] | [
"a = input().split()\nli = []\nfor i in a:\n if i not in li:\n li.append(i)\nprint(len(li))",
"a = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"li = []",
"li",
"[]",
"for i in a:\n if i not in li:\n li.append(i)",
"i",
"a",
"if i not in li:\n li.append(i)",
"i not in li",
"i",
"li",
"li.append(i)",
"li.append",
"li",
"append",
"i",
"print(len(li))",
"print",
"len(li)",
"len",
"li",
"a = input().split()",
"input().split()",
"a",
"li = []",
"[]",
"li"
] | a = input().split()
li = []
for i in a:
if i not in li:
li.append(i)
print(len(li))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
18,
13,
10,
4,
13,
10,
18,
13,
10,
18,
13,
10,
4,
13
] | [
[
67,
2
],
[
58,
12
],
[
68,
15
],
[
64,
17
],
[
59,
19
],
[
55,
22
],
[
59,
24
],
[
61,
27
],
[
59,
29
],
[
65,
34
],
[
56,
35
],
[
62,
36
],
[
65,
43
],
[
56,
44
],
[
56,
46
],
[
62,
47
],
[
55,
56
],
[
58,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
]
] | [
"l = map(int,input().split())\n\nli = sorted(l)\n\na = li[0] \nb = li[1] \nc = li[2] \n\nif a == b == c:\n print(1)\nelif a == b or b == c:\n print(2)\nelse:\n print(3)\n ",
"l = map(int,input().split())",
"l",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"li = sorted(l)",
"li",
"sorted(l)",
"sorted",
"l",
"a = li[0]",
"a",
"li[0]",
"li",
"0",
"b = li[1]",
"b",
"li[1]",
"li",
"1",
"c = li[2]",
"c",
"li[2]",
"li",
"2",
"if a == b == c:\n print(1)\nelif a == b or b == c:\n print(2)\nelse:\n print(3)\n ",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"elif a == b or b == c:\n print(2)",
"a == b or b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"b = li[1]",
"li[1]",
"b",
"li = sorted(l)",
"sorted(l)",
"li",
"c = li[2]",
"li[2]",
"c",
"a = li[0]",
"li[0]",
"a",
"l = map(int,input().split())",
"map(int,input().split())",
"l"
] | l = map(int,input().split())
li = sorted(l)
a = li[0]
b = li[1]
c = li[2]
if a == b == c:
print(1)
elif a == b or b == c:
print(2)
else:
print(3)
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
40,
13,
13,
40,
13,
13,
40,
13,
13,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
52,
14
],
[
52,
16
],
[
52,
17
],
[
50,
21
],
[
53,
22
],
[
47,
23
],
[
50,
31
],
[
53,
32
],
[
53,
34
],
[
47,
35
],
[
47,
37
],
[
50,
38
],
[
52,
47
],
[
52,
50
],
[
52,
53
]
] | [
"a,b,c=(int(x) for x in input().split())\nif a==b==c:\n print('1')\nelif a!=b and b!=c and c!=a:\n print('3')\nelse:\n print('2')",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a,b,c=(int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"if a==b==c:\n print('1')\nelif a!=b and b!=c and c!=a:\n print('3')\nelse:\n print('2')",
"a==b==c",
"a==b",
"a",
"b",
"c",
"print('1')",
"print",
"'1'",
"elif a!=b and b!=c and c!=a:\n print('3')",
"a!=b and b!=c and c!=a",
"a!=b and b!=c",
"a!=b",
"a",
"b",
"b!=c",
"b",
"c",
"c!=a",
"c",
"a",
"print('3')",
"print",
"'3'",
"print('2')",
"print",
"'2'",
"c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c",
"a,b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a",
"b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b"
] | a,b,c=(int(x) for x in input().split())
if a==b==c:
print('1')
elif a!=b and b!=c and c!=a:
print('3')
else:
print('2') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"n = set(map(int,input().split()))\nprint(len(n))",
"n = set(map(int,input().split()))",
"n",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(n))",
"print",
"len(n)",
"len",
"n",
"n = set(map(int,input().split()))",
"set(map(int,input().split()))",
"n"
] | n = set(map(int,input().split()))
print(len(n)) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
49,
2
],
[
49,
13
],
[
49,
14
],
[
47,
18
],
[
44,
19
],
[
50,
20
],
[
47,
28
],
[
44,
29
],
[
44,
31
],
[
50,
32
],
[
50,
34
],
[
47,
35
],
[
49,
44
],
[
49,
47
],
[
49,
50
]
] | [
"a, b, c = list(map(int, input().split()))\nif a == b == c:\n print(1)\nelse:\n if a == b or b == c or c == a:\n print(2)\n else:\n print(3)",
"a, b, c = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == b == c:\n print(1)\nelse:\n if a == b or b == c or c == a:\n print(2)\n else:\n print(3)",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"if a == b or b == c or c == a:\n print(2)\n else:\n print(3)",
"a == b or b == c or c == a",
"a == b or b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"c == a",
"c",
"a",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"b, c = list(map(int, input().split()))",
"list(map(int, input().split()))",
"b",
"a, b, c = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a",
"c = list(map(int, input().split()))",
"list(map(int, input().split()))",
"c"
] | a, b, c = list(map(int, input().split()))
if a == b == c:
print(1)
else:
if a == b or b == c or c == a:
print(2)
else:
print(3) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
42,
2
],
[
42,
11
],
[
42,
12
],
[
39,
14
],
[
33,
20
],
[
40,
23
],
[
34,
28
],
[
42,
31
],
[
33,
34
],
[
42,
37
],
[
39,
40
],
[
42,
43
]
] | [
"a,b,c=map(int,input().split())\nl=[a,b,c]\ns=set(l)\nprint(len(s))",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"l=[a,b,c]",
"l",
"[a,b,c]",
"a",
"b",
"c",
"s=set(l)",
"s",
"set(l)",
"set",
"l",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"s=set(l)",
"set(l)",
"s",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"l=[a,b,c]",
"[a,b,c]",
"l",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a"
] | a,b,c=map(int,input().split())
l=[a,b,c]
s=set(l)
print(len(s)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
38,
2
],
[
38,
11
],
[
38,
12
],
[
39,
16
],
[
33,
17
],
[
36,
18
],
[
39,
23
],
[
33,
24
],
[
33,
26
],
[
36,
27
],
[
36,
29
],
[
39,
30
],
[
38,
33
],
[
38,
36
],
[
38,
39
]
] | [
"a, b, c = map(int, input().split())\nif a == b == c: print(1)\nelif a == b or b == c or c == a: print(2)\nelse: print(3)",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == b == c: print(1)\nelif a == b or b == c or c == a: print(2)\nelse: print(3)",
"a == b == c",
"a == b",
"a",
"b",
"c",
"elif a == b or b == c or c == a: print(2)",
"a == b or b == c or c == a",
"a == b or b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"c == a",
"c",
"a",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a"
] | a, b, c = map(int, input().split())
if a == b == c: print(1)
elif a == b or b == c or c == a: print(2)
else: print(3) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
24,
2
],
[
27,
14
],
[
25,
17
],
[
28,
22
],
[
24,
25
],
[
27,
28
]
] | [
"L = list(map(int,input().split()))\ns = set(L)\nprint(len(s))",
"L = list(map(int,input().split()))",
"L",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"s = set(L)",
"s",
"set(L)",
"set",
"L",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"L = list(map(int,input().split()))",
"list(map(int,input().split()))",
"L",
"s = set(L)",
"set(L)",
"s"
] | L = list(map(int,input().split()))
s = set(L)
print(len(s)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
89,
2
],
[
89,
11
],
[
89,
12
],
[
86,
14
],
[
81,
18
],
[
75,
19
],
[
77,
21
],
[
75,
25
],
[
90,
26
],
[
62,
28
],
[
81,
32
],
[
90,
33
],
[
68,
35
],
[
75,
39
],
[
81,
40
],
[
65,
42
],
[
90,
46
],
[
75,
47
],
[
83,
49
],
[
81,
53
],
[
90,
54
],
[
71,
56
],
[
72,
60
],
[
66,
60
],
[
63,
60
],
[
78,
60
],
[
69,
60
],
[
84,
60
],
[
87,
60
],
[
62,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
],
[
89,
75
],
[
77,
78
],
[
89,
81
],
[
83,
84
],
[
86,
87
],
[
89,
90
]
] | [
"a,b,c=map(int,input().split())\nans=3\nif a==b:\n ans-=1\n if b==c:\n ans-=1\nelif a==c:\n ans-=1\n if b==a:\n ans-=1\nelif c==b:\n ans-=1\n if a==c:\n ans-=1\nprint(ans) ",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ans=3",
"ans",
"3",
"if a==b:\n ans-=1\n if b==c:\n ans-=1\nelif a==c:\n ans-=1\n if b==a:\n ans-=1\nelif c==b:\n ans-=1\n if a==c:\n ans-=1",
"a==b",
"a",
"b",
"ans-=1",
"ans",
"1",
"if b==c:\n ans-=1",
"b==c",
"b",
"c",
"ans-=1",
"ans",
"1",
"elif a==c:\n ans-=1\n if b==a:\n ans-=1",
"a==c",
"a",
"c",
"ans-=1",
"ans",
"1",
"if b==a:\n ans-=1",
"b==a",
"b",
"a",
"ans-=1",
"ans",
"1",
"elif c==b:\n ans-=1\n if a==c:\n ans-=1",
"c==b",
"c",
"b",
"ans-=1",
"ans",
"1",
"if a==c:\n ans-=1",
"a==c",
"a",
"c",
"ans-=1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"ans-=1",
"1",
"ans",
"ans-=1",
"1",
"ans",
"ans-=1",
"1",
"ans",
"ans-=1",
"1",
"ans",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"ans-=1",
"1",
"ans",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"ans-=1",
"1",
"ans",
"ans=3",
"3",
"ans",
"c=map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c=map(int,input().split())
ans=3
if a==b:
ans-=1
if b==c:
ans-=1
elif a==c:
ans-=1
if b==a:
ans-=1
elif c==b:
ans-=1
if a==c:
ans-=1
print(ans)
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
13,
0,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
10
],
[
22,
12
],
[
23,
20
],
[
22,
23
]
] | [
"a=[i for i in input().split()]\nprint(len(set(a)))",
"i for i in input().split()",
"for i in input().split()",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"i",
"a=[i for i in input().split()]",
"a",
"[i for i in input().split()]",
"print(len(set(a)))",
"print",
"len(set(a))",
"len",
"set(a)",
"set",
"a",
"a=[i for i in input().split()]",
"[i for i in input().split()]",
"a"
] | a=[i for i in input().split()]
print(len(set(a))) |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"B=set(input().split())\nprint(len(B))",
"B=set(input().split())",
"B",
"set(input().split())",
"set",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(B))",
"print",
"len(B)",
"len",
"B",
"B=set(input().split())",
"set(input().split())",
"B"
] | B=set(input().split())
print(len(B)) |
[
7,
15,
13,
12,
13,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
40,
2,
13,
13,
13,
40,
2,
13,
13,
13,
40,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
13,
13,
13,
4,
13,
17,
4,
13,
17,
4,
13,
10,
12,
13,
10,
12,
13
] | [
[
9,
8
],
[
59,
15
],
[
9,
17
],
[
9,
18
],
[
8,
24
],
[
17,
25
],
[
18,
26
],
[
8,
29
],
[
18,
30
],
[
17,
31
],
[
17,
34
],
[
18,
35
],
[
8,
36
],
[
8,
43
],
[
17,
44
],
[
18,
45
],
[
56,
53
]
] | [
"import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef resolve():\n a,b,c=map(int, input().split())\n if a==b!=c or a==c!=b or b==c!=a:\n print(2)\n elif a==b==c:\n print(1)\n else:\n print(3)\nresolve()",
"import sys",
"sys",
"def input(): return sys.stdin.readline().strip()",
"input",
"def resolve():\n a,b,c=map(int, input().split())\n if a==b!=c or a==c!=b or b==c!=a:\n print(2)\n elif a==b==c:\n print(1)\n else:\n print(3)",
"resolve",
"a,b,c=map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a==b!=c or a==c!=b or b==c!=a:\n print(2)\n elif a==b==c:\n print(1)\n else:\n print(3)",
"a==b!=c or a==c!=b or b==c!=a",
"a==b!=c or a==c!=b",
"a==b!=c",
"a==b",
"a",
"b",
"c",
"a==c!=b",
"a==c",
"a",
"c",
"b",
"b==c!=a",
"b==c",
"b",
"c",
"a",
"print(2)",
"print",
"2",
"elif a==b==c:\n print(1)\n ",
"a==b==c",
"a==b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"print(3)",
"print",
"3",
"resolve()",
"resolve",
"def resolve():\n a,b,c=map(int, input().split())\n if a==b!=c or a==c!=b or b==c!=a:\n print(2)\n elif a==b==c:\n print(1)\n else:\n print(3)",
"def resolve():\n a,b,c=map(int, input().split())\n if a==b!=c or a==c!=b or b==c!=a:\n print(2)\n elif a==b==c:\n print(1)\n else:\n print(3)",
"resolve",
"def input(): return sys.stdin.readline().strip()",
"def input(): return sys.stdin.readline().strip()",
"input"
] | import sys
def input(): return sys.stdin.readline().strip()
def resolve():
a,b,c=map(int, input().split())
if a==b!=c or a==c!=b or b==c!=a:
print(2)
elif a==b==c:
print(1)
else:
print(3)
resolve() |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"# solution\n\ncols = set( map( int, input().split() ) )\n\nprint( len( cols ) )",
"cols = set( map( int, input().split() ) )",
"cols",
"set( map( int, input().split() ) )",
"set",
"map( int, input().split() )",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print( len( cols ) )",
"print",
"len( cols )",
"len",
"cols",
"cols = set( map( int, input().split() ) )",
"set( map( int, input().split() ) )",
"cols"
] | # solution
cols = set( map( int, input().split() ) )
print( len( cols ) ) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
24,
2
],
[
27,
14
],
[
25,
17
],
[
28,
22
],
[
24,
25
],
[
27,
28
]
] | [
"s = list(map(int, input().split()))\nS = set(s)\nprint(len(S))",
"s = list(map(int, input().split()))",
"s",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"S = set(s)",
"S",
"set(s)",
"set",
"s",
"print(len(S))",
"print",
"len(S)",
"len",
"S",
"s = list(map(int, input().split()))",
"list(map(int, input().split()))",
"s",
"S = set(s)",
"set(s)",
"S"
] | s = list(map(int, input().split()))
S = set(s)
print(len(S)) |
[
7,
15,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
12,
2,
4,
13,
13,
17,
23,
0,
13,
12,
4,
13,
31,
13,
0,
13,
17,
23,
12,
13,
12,
13,
12,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
12,
13,
23,
13,
12,
13,
12,
13,
0,
13,
4,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
4,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13
] | [
[
76,
11
],
[
85,
20
],
[
28,
27
],
[
39,
38
],
[
89,
44
],
[
48,
48
],
[
55,
54
],
[
80,
56
],
[
59,
58
],
[
54,
61
],
[
58,
66
],
[
92,
68
],
[
76,
77
],
[
85,
86
]
] | [
"import sys\n\nsys.setrecursionlimit(10 ** 6)\nint1 = lambda x: int(x) - 1\np2D = lambda x: print(*x, sep=\"\\n\")\ndef II(): return int(sys.stdin.readline())\ndef MI(): return map(int, sys.stdin.readline().split())\ndef LI(): return list(map(int, sys.stdin.readline().split()))\ndef LLI(rows_number): return [LI() for _ in range(rows_number)]\ndef SI(): return sys.stdin.readline()[:-1]\n\ndef main():\n abc=MI()\n s=set(abc)\n print(len(s))\n\nmain()",
"import sys",
"sys",
"sys.setrecursionlimit(10 ** 6)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 6",
"10",
"6",
"int1 = lambda x: int(x) - 1",
"int1",
"lambda x: int(x) - 1",
"int(x) - 1",
"int(x)",
"int",
"x",
"1",
"x",
"p2D = lambda x: print(*x, sep=\"\\n\")",
"p2D",
"lambda x: print(*x, sep=\"\\n\")",
"print(*x, sep=\"\\n\")",
"print",
"*x",
"x",
"sep=\"\\n\"",
"sep",
"\"\\n\"",
"x",
"def II(): return int(sys.stdin.readline())",
"II",
"def MI(): return map(int, sys.stdin.readline().split())",
"MI",
"def LI(): return list(map(int, sys.stdin.readline().split()))",
"LI",
"LI() for _ in range(rows_number)",
"for _ in range(rows_number)",
"_",
"range(rows_number)",
"range",
"rows_number",
"for _ in range(rows_number)",
"LI()",
"LI",
"def LLI(rows_number): return [LI() for _ in range(rows_number)]",
"LLI",
"rows_number",
"rows_number",
"def SI(): return sys.stdin.readline()[:-1]",
"SI",
"def main():\n abc=MI()\n s=set(abc)\n print(len(s))",
"main",
"abc=MI()",
"abc",
"MI()",
"MI",
"s=set(abc)",
"s",
"set(abc)",
"set",
"abc",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"main()",
"main",
"def II(): return int(sys.stdin.readline())",
"def II(): return int(sys.stdin.readline())",
"II",
"def SI(): return sys.stdin.readline()[:-1]",
"def SI(): return sys.stdin.readline()[:-1]",
"SI",
"int1 = lambda x: int(x) - 1",
"lambda x: int(x) - 1",
"int1",
"def MI(): return map(int, sys.stdin.readline().split())",
"def MI(): return map(int, sys.stdin.readline().split())",
"MI",
"def LLI(rows_number): return [LI() for _ in range(rows_number)]",
"def LLI(rows_number): return [LI() for _ in range(rows_number)]",
"LLI",
"p2D = lambda x: print(*x, sep=\"\\n\")",
"lambda x: print(*x, sep=\"\\n\")",
"p2D",
"def LI(): return list(map(int, sys.stdin.readline().split()))",
"def LI(): return list(map(int, sys.stdin.readline().split()))",
"LI",
"def main():\n abc=MI()\n s=set(abc)\n print(len(s))",
"def main():\n abc=MI()\n s=set(abc)\n print(len(s))",
"main"
] | import sys
sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]
def main():
abc=MI()
s=set(abc)
print(len(s))
main() |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
28,
13,
4,
13,
17,
14,
40,
4,
18,
13,
13,
18,
13,
13,
17,
24,
18,
13,
13,
4,
13,
4,
13,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
50,
2
],
[
50,
8
],
[
50,
9
],
[
41,
11
],
[
18,
17
],
[
42,
25
],
[
42,
28
],
[
17,
29
],
[
42,
33
],
[
17,
34
],
[
42,
39
],
[
41,
42
],
[
50,
45
],
[
50,
48
],
[
50,
51
]
] | [
"a,b,c=input().split()\nd=[a,b,c]\nfor i in range(2):\n if d.count(d[i])!=1:\n del d[i]\nprint(len(d))",
"a,b,c=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"d=[a,b,c]",
"d",
"[a,b,c]",
"a",
"b",
"c",
"for i in range(2):\n if d.count(d[i])!=1:\n del d[i]",
"i",
"range(2)",
"range",
"2",
"if d.count(d[i])!=1:\n del d[i]",
"d.count(d[i])!=1",
"d.count(d[i])",
"d.count",
"d",
"count",
"d[i]",
"d",
"i",
"1",
"del d[i]",
"d[i]",
"d",
"i",
"print(len(d))",
"print",
"len(d)",
"len",
"d",
"d=[a,b,c]",
"[a,b,c]",
"d",
"c=input().split()",
"input().split()",
"c",
"a,b,c=input().split()",
"input().split()",
"a",
"b,c=input().split()",
"input().split()",
"b"
] | a,b,c=input().split()
d=[a,b,c]
for i in range(2):
if d.count(d[i])!=1:
del d[i]
print(len(d))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
15,
13,
0,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
4,
18,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
31,
2
],
[
34,
16
],
[
32,
21
],
[
35,
28
],
[
31,
32
],
[
34,
35
]
] | [
"l= list(map(int,input().split()))\n\nimport collections\n\nc=collections.Counter(l)\nprint(len(c.keys()))",
"l= list(map(int,input().split()))",
"l",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"import collections",
"collections",
"c=collections.Counter(l)",
"c",
"collections.Counter(l)",
"collections.Counter",
"collections",
"Counter",
"l",
"print(len(c.keys()))",
"print",
"len(c.keys())",
"len",
"c.keys()",
"c.keys",
"c",
"keys",
"l= list(map(int,input().split()))",
"list(map(int,input().split()))",
"l",
"c=collections.Counter(l)",
"collections.Counter(l)",
"c"
] | l= list(map(int,input().split()))
import collections
c=collections.Counter(l)
print(len(c.keys())) |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
21,
2
],
[
22,
19
],
[
21,
22
]
] | [
"ABC = set(list(map(int, input().split())))\nprint(len(ABC))",
"ABC = set(list(map(int, input().split())))",
"ABC",
"set(list(map(int, input().split())))",
"set",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(ABC))",
"print",
"len(ABC)",
"len",
"ABC",
"ABC = set(list(map(int, input().split())))",
"set(list(map(int, input().split())))",
"ABC"
] | ABC = set(list(map(int, input().split())))
print(len(ABC))
|
[
7,
0,
13,
17,
12,
13,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
17,
13,
10,
12,
13
] | [
[
29,
2
],
[
8,
7
],
[
7,
21
],
[
33,
27
],
[
29,
30
]
] | [
"url = \"https://atcoder.jp/contests/abc046/tasks/abc046_a\"\n\ndef main():\n li = list(input().split())\n print(len(set(li)))\nif __name__ == '__main__':\n main()\n\n",
"url = \"https://atcoder.jp/contests/abc046/tasks/abc046_a\"",
"url",
"\"https://atcoder.jp/contests/abc046/tasks/abc046_a\"",
"def main():\n li = list(input().split())\n print(len(set(li)))",
"main",
"li = list(input().split())",
"li",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(li)))",
"print",
"len(set(li))",
"len",
"set(li)",
"set",
"li",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"url = \"https://atcoder.jp/contests/abc046/tasks/abc046_a\"",
"\"https://atcoder.jp/contests/abc046/tasks/abc046_a\"",
"url",
"def main():\n li = list(input().split())\n print(len(set(li)))",
"def main():\n li = list(input().split())\n print(len(set(li)))",
"main"
] | url = "https://atcoder.jp/contests/abc046/tasks/abc046_a"
def main():
li = list(input().split())
print(len(set(li)))
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
4,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
49,
2
],
[
49,
11
],
[
49,
12
],
[
44,
16
],
[
50,
17
],
[
50,
19
],
[
47,
20
],
[
44,
28
],
[
50,
29
],
[
44,
31
],
[
47,
32
],
[
50,
34
],
[
47,
35
],
[
49,
44
],
[
49,
47
],
[
49,
50
]
] | [
"a,b,c = map(list,input().split())\nif a == b and b == c:\n print('1')\nelif a == b or a == c or b == c:\n print('2')\nelse:\n print('3')",
"a,b,c = map(list,input().split())",
"a",
"map(list,input().split())",
"map",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == b and b == c:\n print('1')\nelif a == b or a == c or b == c:\n print('2')\nelse:\n print('3')",
"a == b and b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"print('1')",
"print",
"'1'",
"elif a == b or a == c or b == c:\n print('2')",
"a == b or a == c or b == c",
"a == b or a == c",
"a == b",
"a",
"b",
"a == c",
"a",
"c",
"b == c",
"b",
"c",
"print('2')",
"print",
"'2'",
"print('3')",
"print",
"'3'",
"a,b,c = map(list,input().split())",
"map(list,input().split())",
"a",
"c = map(list,input().split())",
"map(list,input().split())",
"c",
"b,c = map(list,input().split())",
"map(list,input().split())",
"b"
] | a,b,c = map(list,input().split())
if a == b and b == c:
print('1')
elif a == b or a == c or b == c:
print('2')
else:
print('3') |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"S = set(input().split())\nprint(len(S))",
"S = set(input().split())",
"S",
"set(input().split())",
"set",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(S))",
"print",
"len(S)",
"len",
"S",
"S = set(input().split())",
"set(input().split())",
"S"
] | S = set(input().split())
print(len(S))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
25,
2
],
[
22,
12
],
[
26,
15
],
[
23,
20
],
[
22,
23
],
[
25,
26
]
] | [
"abc = map(int, input().split())\n\ns = set(abc)\nprint(len(s))",
"abc = map(int, input().split())",
"abc",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"s = set(abc)",
"s",
"set(abc)",
"set",
"abc",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"s = set(abc)",
"set(abc)",
"s",
"abc = map(int, input().split())",
"map(int, input().split())",
"abc"
] | abc = map(int, input().split())
s = set(abc)
print(len(s))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
35,
2
],
[
35,
14
],
[
35,
16
],
[
35,
17
],
[
36,
24
],
[
35,
27
],
[
35,
30
],
[
35,
33
],
[
35,
36
]
] | [
"li=a,b,c=list(map(int,input().split()))\nprint(len(set(li)))",
"li=a,b,c=list(map(int,input().split()))",
"li",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"=a,b,c=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"b",
"c",
"print(len(set(li)))",
"print",
"len(set(li))",
"len",
"set(li)",
"set",
"li",
"b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"b",
"c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"c",
"a,b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"li=a,b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"li"
] | li=a,b,c=list(map(int,input().split()))
print(len(set(li))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
27,
2
],
[
24,
14
],
[
28,
19
],
[
25,
22
],
[
24,
25
],
[
27,
28
]
] | [
"abc = list(map(int, input().split()))\nans = len(set(abc))\nprint(ans)",
"abc = list(map(int, input().split()))",
"abc",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"ans = len(set(abc))",
"ans",
"len(set(abc))",
"len",
"set(abc)",
"set",
"abc",
"print(ans)",
"print",
"ans",
"ans = len(set(abc))",
"len(set(abc))",
"ans",
"abc = list(map(int, input().split()))",
"list(map(int, input().split()))",
"abc"
] | abc = list(map(int, input().split()))
ans = len(set(abc))
print(ans)
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
13,
13,
10,
13,
13,
10,
13,
13,
10,
39,
13
] | [
[
4,
3
],
[
3,
12
],
[
38,
14
],
[
38,
16
],
[
38,
17
],
[
41,
19
],
[
42,
30
],
[
38,
33
],
[
38,
36
],
[
38,
39
],
[
41,
42
]
] | [
"#おとといa、きのうb、今日c\na,b,c = (int(x) for x in input().split())\npenki_list = [a,b,c]\nprint(len(set(penki_list)))",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a,b,c = (int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"penki_list = [a,b,c]",
"penki_list",
"[a,b,c]",
"a",
"b",
"c",
"print(len(set(penki_list)))",
"print",
"len(set(penki_list))",
"len",
"set(penki_list)",
"set",
"penki_list",
"c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c",
"a,b,c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a",
"b,c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b",
"penki_list = [a,b,c]",
"[a,b,c]",
"penki_list"
] | #おとといa、きのうb、今日c
a,b,c = (int(x) for x in input().split())
penki_list = [a,b,c]
print(len(set(penki_list)))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"l = map(int, input().split())\nprint(len(set(l)))",
"l = map(int, input().split())",
"l",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(l)))",
"print",
"len(set(l))",
"len",
"set(l)",
"set",
"l",
"l = map(int, input().split())",
"map(int, input().split())",
"l"
] | l = map(int, input().split())
print(len(set(l)))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
21,
2
],
[
22,
19
],
[
21,
22
]
] | [
"apple = list(map(int, input().split()))\nprint(len(set(apple)))",
"apple = list(map(int, input().split()))",
"apple",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(apple)))",
"print",
"len(set(apple))",
"len",
"set(apple)",
"set",
"apple",
"apple = list(map(int, input().split()))",
"list(map(int, input().split()))",
"apple"
] | apple = list(map(int, input().split()))
print(len(set(apple))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
95,
2
],
[
92,
12
],
[
96,
15
],
[
93,
20
],
[
93,
23
],
[
93,
26
],
[
93,
35
],
[
93,
38
],
[
93,
42
],
[
93,
45
],
[
93,
54
],
[
93,
57
],
[
93,
61
],
[
93,
64
],
[
93,
73
],
[
93,
76
],
[
93,
80
],
[
93,
83
],
[
92,
93
],
[
95,
96
]
] | [
"a = map(int, input().split())\npaint_list = list(a)\n\nif paint_list[0] == paint_list[1] == paint_list[2]:\n print(1)\nelif paint_list[0] == paint_list[1] and paint_list[0] != paint_list[2]:\n print(2)\nelif paint_list[0] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)\nelif paint_list[1] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)\nelse:\n print(3)",
"a = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"paint_list = list(a)",
"paint_list",
"list(a)",
"list",
"a",
"if paint_list[0] == paint_list[1] == paint_list[2]:\n print(1)\nelif paint_list[0] == paint_list[1] and paint_list[0] != paint_list[2]:\n print(2)\nelif paint_list[0] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)\nelif paint_list[1] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)\nelse:\n print(3)",
"paint_list[0] == paint_list[1] == paint_list[2]",
"paint_list[0] == paint_list[1]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[1]",
"paint_list",
"1",
"paint_list[2]",
"paint_list",
"2",
"print(1)",
"print",
"1",
"elif paint_list[0] == paint_list[1] and paint_list[0] != paint_list[2]:\n print(2)",
"paint_list[0] == paint_list[1] and paint_list[0] != paint_list[2]",
"paint_list[0] == paint_list[1]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[1]",
"paint_list",
"1",
"paint_list[0] != paint_list[2]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[2]",
"paint_list",
"2",
"print(2)",
"print",
"2",
"elif paint_list[0] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)",
"paint_list[0] == paint_list[2] and paint_list[0] != paint_list[1]",
"paint_list[0] == paint_list[2]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[2]",
"paint_list",
"2",
"paint_list[0] != paint_list[1]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[1]",
"paint_list",
"1",
"print(2)",
"print",
"2",
"elif paint_list[1] == paint_list[2] and paint_list[0] != paint_list[1]:\n print(2)",
"paint_list[1] == paint_list[2] and paint_list[0] != paint_list[1]",
"paint_list[1] == paint_list[2]",
"paint_list[1]",
"paint_list",
"1",
"paint_list[2]",
"paint_list",
"2",
"paint_list[0] != paint_list[1]",
"paint_list[0]",
"paint_list",
"0",
"paint_list[1]",
"paint_list",
"1",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"paint_list = list(a)",
"list(a)",
"paint_list",
"a = map(int, input().split())",
"map(int, input().split())",
"a"
] | a = map(int, input().split())
paint_list = list(a)
if paint_list[0] == paint_list[1] == paint_list[2]:
print(1)
elif paint_list[0] == paint_list[1] and paint_list[0] != paint_list[2]:
print(2)
elif paint_list[0] == paint_list[2] and paint_list[0] != paint_list[1]:
print(2)
elif paint_list[1] == paint_list[2] and paint_list[0] != paint_list[1]:
print(2)
else:
print(3) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
28,
13,
4,
13,
17,
4,
18,
13,
13,
18,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
38,
2
],
[
35,
14
],
[
19,
18
],
[
36,
24
],
[
39,
27
],
[
18,
28
],
[
36,
33
],
[
35,
36
],
[
38,
39
]
] | [
"lst=(list(map(str,input().split())))\na=set()\nfor i in range(3):\n a.add(lst[i])\nprint(len(a))",
"lst=(list(map(str,input().split())))",
"lst",
"list(map(str,input().split()))",
"list",
"map(str,input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"a=set()",
"a",
"set()",
"set",
"for i in range(3):\n a.add(lst[i])",
"i",
"range(3)",
"range",
"3",
"a.add(lst[i])",
"a.add",
"a",
"add",
"lst[i]",
"lst",
"i",
"print(len(a))",
"print",
"len(a)",
"len",
"a",
"a=set()",
"set()",
"a",
"lst=(list(map(str,input().split())))",
"list(map(str,input().split()))",
"lst"
] | lst=(list(map(str,input().split())))
a=set()
for i in range(3):
a.add(lst[i])
print(len(a)) |
[
7,
12,
13,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
16
],
[
21,
18
]
] | [
"def resolve():\n paint_color_list = input().split()\n print(len(set(paint_color_list)))\n\nresolve()",
"def resolve():\n paint_color_list = input().split()\n print(len(set(paint_color_list)))",
"resolve",
"paint_color_list = input().split()",
"paint_color_list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(paint_color_list)))",
"print",
"len(set(paint_color_list))",
"len",
"set(paint_color_list)",
"set",
"paint_color_list",
"resolve()",
"resolve",
"def resolve():\n paint_color_list = input().split()\n print(len(set(paint_color_list)))",
"def resolve():\n paint_color_list = input().split()\n print(len(set(paint_color_list)))",
"resolve"
] | def resolve():
paint_color_list = input().split()
print(len(set(paint_color_list)))
resolve() |
[
7,
15,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
25,
3
],
[
26,
23
],
[
25,
26
]
] | [
"from sys import stdin\n\nl = set(map(int,stdin.readline().rstrip().split()))\n\nprint(len(l))",
"from sys import stdin",
"l = set(map(int,stdin.readline().rstrip().split()))",
"l",
"set(map(int,stdin.readline().rstrip().split()))",
"set",
"map(int,stdin.readline().rstrip().split())",
"map",
"int",
"stdin.readline().rstrip().split()",
"stdin.readline().rstrip().split",
"stdin.readline().rstrip()",
"stdin.readline().rstrip",
"stdin.readline()",
"stdin.readline",
"stdin",
"readline",
"rstrip",
"split",
"print(len(l))",
"print",
"len(l)",
"len",
"l",
"l = set(map(int,stdin.readline().rstrip().split()))",
"set(map(int,stdin.readline().rstrip().split()))",
"l"
] | from sys import stdin
l = set(map(int,stdin.readline().rstrip().split()))
print(len(l)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13
] | [
[
56,
2
],
[
56,
11
],
[
56,
12
],
[
50,
14
],
[
51,
18
],
[
57,
20
],
[
51,
23
],
[
48,
25
],
[
51,
28
],
[
54,
30
],
[
44,
32
],
[
51,
37
],
[
45,
42
],
[
51,
42
],
[
44,
45
],
[
56,
48
],
[
50,
51
],
[
56,
54
],
[
56,
57
]
] | [
"a, b, c = map(int, input().split())\nL = []\nL.append(a)\nL.append(b)\nL.append(c)\n\nL = list(set(L))\n\nprint(len(L))",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"L = []",
"L",
"[]",
"L.append(a)",
"L.append",
"L",
"append",
"a",
"L.append(b)",
"L.append",
"L",
"append",
"b",
"L.append(c)",
"L.append",
"L",
"append",
"c",
"L = list(set(L))",
"L",
"list(set(L))",
"list",
"set(L)",
"set",
"L",
"print(len(L))",
"print",
"len(L)",
"len",
"L",
"L = list(set(L))",
"list(set(L))",
"L",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"L = []",
"[]",
"L",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a"
] | a, b, c = map(int, input().split())
L = []
L.append(a)
L.append(b)
L.append(c)
L = list(set(L))
print(len(L))
|
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
23,
2
],
[
20,
10
],
[
24,
13
],
[
21,
18
],
[
20,
21
],
[
23,
24
]
] | [
"a=input().split(\" \")\nb=set(a)\nprint(len(b))",
"a=input().split(\" \")",
"a",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"b=set(a)",
"b",
"set(a)",
"set",
"a",
"print(len(b))",
"print",
"len(b)",
"len",
"b",
"b=set(a)",
"set(a)",
"b",
"a=input().split(\" \")",
"input().split(\" \")",
"a"
] | a=input().split(" ")
b=set(a)
print(len(b)) |
[
7,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
19
],
[
24,
21
]
] | [
"def main():\n color = set(map(int, input().split()))\n print(len(color))\nmain()",
"def main():\n color = set(map(int, input().split()))\n print(len(color))",
"main",
"color = set(map(int, input().split()))",
"color",
"set(map(int, input().split()))",
"set",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(color))",
"print",
"len(color)",
"len",
"color",
"main()",
"main",
"def main():\n color = set(map(int, input().split()))\n print(len(color))",
"def main():\n color = set(map(int, input().split()))\n print(len(color))",
"main"
] | def main():
color = set(map(int, input().split()))
print(len(color))
main() |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
52,
14
],
[
52,
16
],
[
52,
17
],
[
50,
21
],
[
53,
22
],
[
47,
23
],
[
50,
31
],
[
53,
32
],
[
53,
34
],
[
47,
35
],
[
47,
37
],
[
50,
38
],
[
52,
47
],
[
52,
50
],
[
52,
53
]
] | [
"a,b,c=(int(x) for x in input().split())\nif a==b==c:\n print(1)\nelif a==b or b==c or c==a:\n print(2)\nelse:\n print(3)",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a,b,c=(int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"if a==b==c:\n print(1)\nelif a==b or b==c or c==a:\n print(2)\nelse:\n print(3)",
"a==b==c",
"a==b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"elif a==b or b==c or c==a:\n print(2)",
"a==b or b==c or c==a",
"a==b or b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"c==a",
"c",
"a",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c",
"a,b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a",
"b,c=(int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b"
] | a,b,c=(int(x) for x in input().split())
if a==b==c:
print(1)
elif a==b or b==c or c==a:
print(2)
else:
print(3)
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"B=set(map(int,input().split()))\nprint(len(B))",
"B=set(map(int,input().split()))",
"B",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(B))",
"print",
"len(B)",
"len",
"B",
"B=set(map(int,input().split()))",
"set(map(int,input().split()))",
"B"
] | B=set(map(int,input().split()))
print(len(B)) |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
4,
13,
8,
2,
4,
13,
13,
4,
13,
4,
13,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13
] | [
[
43,
2
],
[
43,
8
],
[
43,
9
],
[
46,
11
],
[
47,
22
],
[
47,
27
],
[
47,
30
],
[
47,
35
],
[
43,
38
],
[
43,
41
],
[
43,
44
],
[
46,
47
]
] | [
"\na, b, c = input().split()\n\nlist = [a, b, c]\n\nprint(len(list) if len(list)==len(set(list)) else len(set(list)) ) ",
"a, b, c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"list = [a, b, c]",
"list",
"[a, b, c]",
"a",
"b",
"c",
"print(len(list) if len(list)==len(set(list)) else len(set(list)) )",
"print",
"len(list) if len(list)==len(set(list)) else len(set(list))",
"len(list)==len(set(list))",
"len(list)",
"len",
"list",
"len(set(list))",
"len",
"set(list)",
"set",
"list",
"len(list)",
"len",
"list",
"len(set(list))",
"len",
"set(list)",
"set",
"list",
"a, b, c = input().split()",
"input().split()",
"a",
"b, c = input().split()",
"input().split()",
"b",
"c = input().split()",
"input().split()",
"c",
"list = [a, b, c]",
"[a, b, c]",
"list"
] |
a, b, c = input().split()
list = [a, b, c]
print(len(list) if len(list)==len(set(list)) else len(set(list)) ) |
[
7,
12,
13,
29,
4,
13,
17,
23,
13,
23,
13,
23,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
4,
13,
13,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
12,
13
] | [
[
8,
8
],
[
10,
10
],
[
12,
12
],
[
39,
14
],
[
39,
23
],
[
39,
24
],
[
43,
28
],
[
37,
29
],
[
34,
30
],
[
40,
31
],
[
39,
34
],
[
39,
37
],
[
39,
40
]
] | [
"def actual(a, b, c):\n return len({a, b, c})\n\na, b, c = map(int, input().split())\nprint(actual(a, b, c))",
"def actual(a, b, c):\n return len({a, b, c})",
"actual",
"return len({a, b, c})",
"len({a, b, c})",
"len",
"{a, b, c}",
"a",
"a",
"b",
"b",
"c",
"c",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"print(actual(a, b, c))",
"print",
"actual(a, b, c)",
"actual",
"a",
"b",
"c",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"def actual(a, b, c):\n return len({a, b, c})",
"def actual(a, b, c):\n return len({a, b, c})",
"actual"
] | def actual(a, b, c):
return len({a, b, c})
a, b, c = map(int, input().split())
print(actual(a, b, c)) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
19,
2
],
[
20,
17
],
[
19,
20
]
] | [
"X = set(map(int,input().split()))\nprint(len(X))",
"X = set(map(int,input().split()))",
"X",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(X))",
"print",
"len(X)",
"len",
"X",
"X = set(map(int,input().split()))",
"set(map(int,input().split()))",
"X"
] | X = set(map(int,input().split()))
print(len(X))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
43,
2
],
[
43,
11
],
[
43,
12
],
[
46,
14
],
[
20,
17
],
[
47,
18
],
[
41,
19
],
[
25,
22
],
[
47,
23
],
[
44,
24
],
[
30,
27
],
[
47,
28
],
[
38,
29
],
[
47,
35
],
[
43,
38
],
[
43,
41
],
[
43,
44
],
[
46,
47
]
] | [
"a,b,c=map(int,input().split())\ndic={}\ndic[a]=1\ndic[b]=1\ndic[c]=1\nprint(len(dic))",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"dic={}",
"dic",
"{}",
"dic[a]=1",
"dic[a]",
"dic",
"a",
"1",
"dic[b]=1",
"dic[b]",
"dic",
"b",
"1",
"dic[c]=1",
"dic[c]",
"dic",
"c",
"1",
"print(len(dic))",
"print",
"len(dic)",
"len",
"dic",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"dic={}",
"{}",
"dic"
] | a,b,c=map(int,input().split())
dic={}
dic[a]=1
dic[b]=1
dic[c]=1
print(len(dic)) |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
39,
2
],
[
39,
8
],
[
39,
9
],
[
30,
11
],
[
36,
17
],
[
31,
22
],
[
37,
25
],
[
39,
28
],
[
30,
31
],
[
39,
34
],
[
36,
37
],
[
39,
40
]
] | [
"a,b,c = input().split()\n\nlist = [a,b,c]\n\nnum = len(set(list))\n\nprint(num)",
"a,b,c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"list = [a,b,c]",
"list",
"[a,b,c]",
"a",
"b",
"c",
"num = len(set(list))",
"num",
"len(set(list))",
"len",
"set(list)",
"set",
"list",
"print(num)",
"print",
"num",
"a,b,c = input().split()",
"input().split()",
"a",
"list = [a,b,c]",
"[a,b,c]",
"list",
"b,c = input().split()",
"input().split()",
"b",
"num = len(set(list))",
"len(set(list))",
"num",
"c = input().split()",
"input().split()",
"c"
] | a,b,c = input().split()
list = [a,b,c]
num = len(set(list))
print(num) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
40,
13,
13,
0,
13,
17,
14,
2,
40,
13,
13,
2,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
40,
13,
13,
0,
13,
17,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
82,
2
],
[
82,
11
],
[
82,
12
],
[
65,
16
],
[
83,
17
],
[
83,
19
],
[
74,
20
],
[
85,
22
],
[
65,
27
],
[
83,
28
],
[
83,
30
],
[
74,
31
],
[
76,
33
],
[
65,
38
],
[
83,
39
],
[
83,
41
],
[
74,
42
],
[
79,
44
],
[
65,
49
],
[
74,
50
],
[
65,
52
],
[
83,
53
],
[
70,
55
],
[
67,
58
],
[
68,
62
],
[
71,
62
],
[
80,
62
],
[
77,
62
],
[
86,
62
],
[
82,
65
],
[
67,
68
],
[
70,
71
],
[
82,
74
],
[
76,
77
],
[
79,
80
],
[
82,
83
],
[
85,
86
]
] | [
"a,b,c=map(int,input().split())\n\nif a==b and b==c:\n ans=1\nelif a==b and b!=c:\n ans=2\nelif a!=b and b==c:\n ans=2\nelif a==c and a!=b:\n ans=2\nelse:\n ans=3\nprint(ans)",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a==b and b==c:\n ans=1\nelif a==b and b!=c:\n ans=2\nelif a!=b and b==c:\n ans=2\nelif a==c and a!=b:\n ans=2\nelse:\n ans=3",
"a==b and b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"ans=1",
"ans",
"1",
"elif a==b and b!=c:\n ans=2",
"a==b and b!=c",
"a==b",
"a",
"b",
"b!=c",
"b",
"c",
"ans=2",
"ans",
"2",
"elif a!=b and b==c:\n ans=2",
"a!=b and b==c",
"a!=b",
"a",
"b",
"b==c",
"b",
"c",
"ans=2",
"ans",
"2",
"elif a==c and a!=b:\n ans=2",
"a==c and a!=b",
"a==c",
"a",
"c",
"a!=b",
"a",
"b",
"ans=2",
"ans",
"2",
"ans=3",
"ans",
"3",
"print(ans)",
"print",
"ans",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"ans=3",
"3",
"ans",
"ans=2",
"2",
"ans",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"ans=2",
"2",
"ans",
"ans=2",
"2",
"ans",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"ans=1",
"1",
"ans"
] | a,b,c=map(int,input().split())
if a==b and b==c:
ans=1
elif a==b and b!=c:
ans=2
elif a!=b and b==c:
ans=2
elif a==c and a!=b:
ans=2
else:
ans=3
print(ans) |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
18,
2
],
[
19,
16
],
[
18,
19
]
] | [
"c = input().split()\nprint(len(list(set(c))))",
"c = input().split()",
"c",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(list(set(c))))",
"print",
"len(list(set(c)))",
"len",
"list(set(c))",
"list",
"set(c)",
"set",
"c",
"c = input().split()",
"input().split()",
"c"
] | c = input().split()
print(len(list(set(c)))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
40,
13,
13,
40,
13,
13,
40,
13,
13,
0,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
0,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
68,
2
],
[
68,
11
],
[
68,
12
],
[
53,
14
],
[
66,
20
],
[
69,
21
],
[
66,
23
],
[
57,
24
],
[
69,
26
],
[
57,
27
],
[
59,
29
],
[
66,
35
],
[
69,
36
],
[
66,
38
],
[
57,
39
],
[
69,
41
],
[
57,
42
],
[
62,
44
],
[
71,
47
],
[
72,
51
],
[
63,
51
],
[
60,
51
],
[
54,
51
],
[
53,
54
],
[
68,
57
],
[
59,
60
],
[
62,
63
],
[
68,
66
],
[
68,
69
],
[
71,
72
]
] | [
"#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#s, t = map(str, input().split())\n#l = list(map(int, input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\na, b, c = map(int, input().split())\n\nans = 0\nif (a != b and a != c and b != c):\n ans = 3\nelif (a == b and a == c and b == c):\n ans = 1\nelse:\n ans = 2\nprint(ans)\n",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ans = 0",
"ans",
"0",
"if (a != b and a != c and b != c):\n ans = 3\nelif (a == b and a == c and b == c):\n ans = 1\nelse:\n ans = 2",
"a != b and a != c and b != c",
"a != b and a != c",
"a != b",
"a",
"b",
"a != c",
"a",
"c",
"b != c",
"b",
"c",
"ans = 3",
"ans",
"3",
"elif (a == b and a == c and b == c):\n ans = 1",
"a == b and a == c and b == c",
"a == b and a == c",
"a == b",
"a",
"b",
"a == c",
"a",
"c",
"b == c",
"b",
"c",
"ans = 1",
"ans",
"1",
"ans = 2",
"ans",
"2",
"print(ans)",
"print",
"ans",
"ans = 0",
"0",
"ans",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"ans = 3",
"3",
"ans",
"ans = 1",
"1",
"ans",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"ans = 2",
"2",
"ans"
] | #k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
a, b, c = map(int, input().split())
ans = 0
if (a != b and a != c and b != c):
ans = 3
elif (a == b and a == c and b == c):
ans = 1
else:
ans = 2
print(ans)
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
0,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
66,
2
],
[
66,
11
],
[
66,
12
],
[
75,
14
],
[
67,
18
],
[
58,
19
],
[
69,
21
],
[
67,
25
],
[
55,
26
],
[
60,
28
],
[
58,
32
],
[
55,
33
],
[
72,
35
],
[
67,
40
],
[
55,
41
],
[
58,
43
],
[
55,
44
],
[
63,
46
],
[
64,
52
],
[
73,
52
],
[
61,
52
],
[
70,
52
],
[
76,
52
],
[
66,
55
],
[
66,
58
],
[
60,
61
],
[
63,
64
],
[
66,
67
],
[
69,
70
],
[
72,
73
],
[
75,
76
]
] | [
"# -*- coding: utf-8 -*-\na,b,c = map(int, input().split())\ncnt = 0\nif a != b:\n cnt += 1\nif a != c:\n cnt += 1\nif b != c:\n cnt += 1\nif a==c and b==c:\n cnt += 1\nprint(int(cnt))",
"a,b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"cnt = 0",
"cnt",
"0",
"if a != b:\n cnt += 1",
"a != b",
"a",
"b",
"cnt += 1",
"cnt",
"1",
"if a != c:\n cnt += 1",
"a != c",
"a",
"c",
"cnt += 1",
"cnt",
"1",
"if b != c:\n cnt += 1",
"b != c",
"b",
"c",
"cnt += 1",
"cnt",
"1",
"if a==c and b==c:\n cnt += 1",
"a==c and b==c",
"a==c",
"a",
"c",
"b==c",
"b",
"c",
"cnt += 1",
"cnt",
"1",
"print(int(cnt))",
"print",
"int(cnt)",
"int",
"cnt",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"b,c = map(int, input().split())",
"map(int, input().split())",
"b",
"cnt += 1",
"1",
"cnt",
"cnt += 1",
"1",
"cnt",
"a,b,c = map(int, input().split())",
"map(int, input().split())",
"a",
"cnt += 1",
"1",
"cnt",
"cnt += 1",
"1",
"cnt",
"cnt = 0",
"0",
"cnt"
] | # -*- coding: utf-8 -*-
a,b,c = map(int, input().split())
cnt = 0
if a != b:
cnt += 1
if a != c:
cnt += 1
if b != c:
cnt += 1
if a==c and b==c:
cnt += 1
print(int(cnt)) |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
52,
2
],
[
53,
18
],
[
53,
21
],
[
53,
26
],
[
53,
29
],
[
53,
40
],
[
53,
43
],
[
52,
53
]
] | [
"p = sorted(list(map(int, input().split())))\n\nif p[0] == p[1]:\n if p[1] == p[2]:\n print(1)\n else:\n print(2)\nelif p[1] == p[2]:\n print(2)\nelse:\n print(3)\n",
"p = sorted(list(map(int, input().split())))",
"p",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if p[0] == p[1]:\n if p[1] == p[2]:\n print(1)\n else:\n print(2)\nelif p[1] == p[2]:\n print(2)\nelse:\n print(3)",
"p[0] == p[1]",
"p[0]",
"p",
"0",
"p[1]",
"p",
"1",
"if p[1] == p[2]:\n print(1)\n else:\n print(2)",
"p[1] == p[2]",
"p[1]",
"p",
"1",
"p[2]",
"p",
"2",
"print(1)",
"print",
"1",
"print(2)",
"print",
"2",
"elif p[1] == p[2]:\n print(2)",
"p[1] == p[2]",
"p[1]",
"p",
"1",
"p[2]",
"p",
"2",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"p = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"p"
] | p = sorted(list(map(int, input().split())))
if p[0] == p[1]:
if p[1] == p[2]:
print(1)
else:
print(2)
elif p[1] == p[2]:
print(2)
else:
print(3)
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
13,
4,
13,
17,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
47,
2
],
[
47,
11
],
[
47,
12
],
[
42,
16
],
[
48,
17
],
[
45,
18
],
[
42,
26
],
[
48,
27
],
[
48,
29
],
[
45,
30
],
[
45,
32
],
[
42,
33
],
[
47,
42
],
[
47,
45
],
[
47,
48
]
] | [
"a,b,c=map(int,input().split())\n\nif a==b==c:\n print(\"1\")\nelif a==b or b==c or c==a:\n print(\"2\")\nelse:\n print(\"3\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a==b==c:\n print(\"1\")\nelif a==b or b==c or c==a:\n print(\"2\")\nelse:\n print(\"3\")",
"a==b==c",
"a==b",
"a",
"b",
"c",
"print(\"1\")",
"print",
"\"1\"",
"elif a==b or b==c or c==a:\n print(\"2\")",
"a==b or b==c or c==a",
"a==b or b==c",
"a==b",
"a",
"b",
"b==c",
"b",
"c",
"c==a",
"c",
"a",
"print(\"2\")",
"print",
"\"2\"",
"print(\"3\")",
"print",
"\"3\"",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b"
] | a,b,c=map(int,input().split())
if a==b==c:
print("1")
elif a==b or b==c or c==a:
print("2")
else:
print("3") |
[
7,
15,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
20,
3
],
[
21,
18
],
[
20,
21
]
] | [
"from collections import Counter\np = map(int ,input().split())\nprint(len(Counter(p)))",
"from collections import Counter",
"p = map(int ,input().split())",
"p",
"map(int ,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(Counter(p)))",
"print",
"len(Counter(p))",
"len",
"Counter(p)",
"Counter",
"p",
"p = map(int ,input().split())",
"map(int ,input().split())",
"p"
] | from collections import Counter
p = map(int ,input().split())
print(len(Counter(p))) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13
] | [
[
4,
3
],
[
3,
12
]
] | [
"print(len(set([int(i) for i in input().split()])))",
"int(i) for i in input().split()",
"for i in input().split()",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"int(i)",
"int",
"i",
"print(len(set([int(i) for i in input().split()])))",
"print",
"len(set([int(i) for i in input().split()]))",
"len",
"set([int(i) for i in input().split()])",
"set",
"[int(i) for i in input().split()]"
] | print(len(set([int(i) for i in input().split()]))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
2,
13,
13,
0,
13,
17,
14,
40,
13,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
68,
2
],
[
68,
11
],
[
68,
12
],
[
59,
14
],
[
69,
18
],
[
48,
19
],
[
65,
21
],
[
48,
25
],
[
57,
26
],
[
50,
28
],
[
57,
32
],
[
69,
33
],
[
53,
35
],
[
54,
39
],
[
51,
39
],
[
66,
39
],
[
60,
39
],
[
62,
41
],
[
63,
45
],
[
54,
45
],
[
51,
45
],
[
66,
45
],
[
60,
45
],
[
68,
48
],
[
50,
51
],
[
53,
54
],
[
68,
57
],
[
59,
60
],
[
62,
63
],
[
65,
66
],
[
68,
69
]
] | [
"a, b, c = map(int,input().split())\n\ni = 3\nif a==b:\n i-=1\nif b==c:\n i-=1\nif c==a:\n i-=1\nif not i:\n i=1\nprint(i)",
"a, b, c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"i = 3",
"i",
"3",
"if a==b:\n i-=1",
"a==b",
"a",
"b",
"i-=1",
"i",
"1",
"if b==c:\n i-=1",
"b==c",
"b",
"c",
"i-=1",
"i",
"1",
"if c==a:\n i-=1",
"c==a",
"c",
"a",
"i-=1",
"i",
"1",
"if not i:\n i=1",
"not i",
"i",
"i=1",
"i",
"1",
"print(i)",
"print",
"i",
"b, c = map(int,input().split())",
"map(int,input().split())",
"b",
"i-=1",
"1",
"i",
"i-=1",
"1",
"i",
"c = map(int,input().split())",
"map(int,input().split())",
"c",
"i = 3",
"3",
"i",
"i=1",
"1",
"i",
"i-=1",
"1",
"i",
"a, b, c = map(int,input().split())",
"map(int,input().split())",
"a"
] | a, b, c = map(int,input().split())
i = 3
if a==b:
i-=1
if b==c:
i-=1
if c==a:
i-=1
if not i:
i=1
print(i) |
[
7,
15,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
25,
3
],
[
28,
15
],
[
26,
18
],
[
29,
23
],
[
25,
26
],
[
28,
29
]
] | [
"from collections import Counter\n\nabc=list(map(int,input().split()))\nc=Counter(abc)\nprint(len(c))",
"from collections import Counter",
"abc=list(map(int,input().split()))",
"abc",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"c=Counter(abc)",
"c",
"Counter(abc)",
"Counter",
"abc",
"print(len(c))",
"print",
"len(c)",
"len",
"c",
"abc=list(map(int,input().split()))",
"list(map(int,input().split()))",
"abc",
"c=Counter(abc)",
"Counter(abc)",
"c"
] | from collections import Counter
abc=list(map(int,input().split()))
c=Counter(abc)
print(len(c)) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
17,
14,
40,
18,
13,
13,
18,
13,
2,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
48,
2
],
[
49,
15
],
[
42,
18
],
[
22,
21
],
[
49,
28
],
[
21,
29
],
[
49,
31
],
[
21,
33
],
[
45,
36
],
[
46,
40
],
[
43,
40
],
[
42,
43
],
[
45,
46
],
[
48,
49
]
] | [
"a=list(map(int,input().split()))\na.sort()\ncount=1\nfor i in range(2):\n if a[i]!=a[i+1]:\n count+=1\nprint(count)",
"a=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"count=1",
"count",
"1",
"for i in range(2):\n if a[i]!=a[i+1]:\n count+=1",
"i",
"range(2)",
"range",
"2",
"if a[i]!=a[i+1]:\n count+=1",
"a[i]!=a[i+1]",
"a[i]",
"a",
"i",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"count+=1",
"count",
"1",
"print(count)",
"print",
"count",
"count=1",
"1",
"count",
"count+=1",
"1",
"count",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a=list(map(int,input().split()))
a.sort()
count=1
for i in range(2):
if a[i]!=a[i+1]:
count+=1
print(count)
|
[
7,
15,
13,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
13,
41,
28,
13,
4,
18,
13,
13,
40,
18,
13,
17,
17,
4,
18,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
39,
4
],
[
42,
11
],
[
40,
16
],
[
20,
19
],
[
43,
22
],
[
19,
26
],
[
19,
31
],
[
39,
40
],
[
42,
43
]
] | [
"import collections\nl=input().split()\n\nc = collections.Counter(l)\n\nprint(len([i[0] for i in c.items() if i[1] >= 1]))",
"import collections",
"collections",
"l=input().split()",
"l",
"input().split()",
"().split",
"()",
"input",
"split",
"c = collections.Counter(l)",
"c",
"collections.Counter(l)",
"collections.Counter",
"collections",
"Counter",
"l",
"i[0] for i in c.items() if i[1] >= 1",
"for i in c.items() if i[1] >= 1",
"i",
"c.items()",
"c.items",
"c",
"items",
"i[1] >= 1",
"i[1]",
"i",
"1",
"1",
"if i[1] >= 1",
"i[0]",
"i",
"0",
"print(len([i[0] for i in c.items() if i[1] >= 1]))",
"print",
"len([i[0] for i in c.items() if i[1] >= 1])",
"len",
"[i[0] for i in c.items() if i[1] >= 1]",
"l=input().split()",
"input().split()",
"l",
"c = collections.Counter(l)",
"collections.Counter(l)",
"c"
] | import collections
l=input().split()
c = collections.Counter(l)
print(len([i[0] for i in c.items() if i[1] >= 1])) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
48,
2
],
[
48,
11
],
[
48,
12
],
[
45,
14
],
[
46,
18
],
[
49,
20
],
[
46,
23
],
[
43,
25
],
[
46,
28
],
[
40,
30
],
[
46,
37
],
[
48,
40
],
[
48,
43
],
[
45,
46
],
[
48,
49
]
] | [
"a,b,c = map(int, input().split())\ncolors = []\ncolors.append(a)\ncolors.append(b)\ncolors.append(c)\nprint(len(set(colors)))",
"a,b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"colors = []",
"colors",
"[]",
"colors.append(a)",
"colors.append",
"colors",
"append",
"a",
"colors.append(b)",
"colors.append",
"colors",
"append",
"b",
"colors.append(c)",
"colors.append",
"colors",
"append",
"c",
"print(len(set(colors)))",
"print",
"len(set(colors))",
"len",
"set(colors)",
"set",
"colors",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"b,c = map(int, input().split())",
"map(int, input().split())",
"b",
"colors = []",
"[]",
"colors",
"a,b,c = map(int, input().split())",
"map(int, input().split())",
"a"
] | a,b,c = map(int, input().split())
colors = []
colors.append(a)
colors.append(b)
colors.append(c)
print(len(set(colors))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
21,
2
],
[
22,
19
],
[
21,
22
]
] | [
"abc=list(map(int,input().split()))\nprint(len(set(abc)))",
"abc=list(map(int,input().split()))",
"abc",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(abc)))",
"print",
"len(set(abc))",
"len",
"set(abc)",
"set",
"abc",
"abc=list(map(int,input().split()))",
"list(map(int,input().split()))",
"abc"
] | abc=list(map(int,input().split()))
print(len(set(abc))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
2,
13,
2,
2,
13,
17,
2,
13,
17,
14,
2,
13,
2,
17,
17,
4,
13,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13
] | [
[
39,
2
],
[
39,
11
],
[
36,
13
],
[
40,
15
],
[
40,
18
],
[
34,
21
],
[
40,
25
],
[
37,
31
],
[
39,
34
],
[
36,
37
],
[
39,
40
]
] | [
"N, K = map(int, input().split())\nhowmany = K * (K - 1) ** (N - 1)\nif K < 2**31:\n print(howmany)\nelse:\n pass",
"N, K = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"K",
"howmany = K * (K - 1) ** (N - 1)",
"howmany",
"K * (K - 1) ** (N - 1)",
"K",
"(K - 1) ** (N - 1)",
"K - 1",
"K",
"1",
"N - 1",
"N",
"1",
"if K < 2**31:\n print(howmany)\nelse:\n pass",
"K < 2**31",
"K",
"2**31",
"2",
"31",
"print(howmany)",
"print",
"howmany",
"N, K = map(int, input().split())",
"map(int, input().split())",
"N",
"howmany = K * (K - 1) ** (N - 1)",
"K * (K - 1) ** (N - 1)",
"howmany",
"K = map(int, input().split())",
"map(int, input().split())",
"K"
] | N, K = map(int, input().split())
howmany = K * (K - 1) ** (N - 1)
if K < 2**31:
print(howmany)
else:
pass
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.