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,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
18,
2
],
[
19,
16
],
[
18,
19
]
] | [
"A = list(input().split())\n\nprint(len(set(A)))",
"A = list(input().split())",
"A",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(A)))",
"print",
"len(set(A))",
"len",
"set(A)",
"set",
"A",
"A = list(input().split())",
"list(input().split())",
"A"
] | A = list(input().split())
print(len(set(A))) |
[
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\na = map(int ,input().split())\nprint(len(Counter(a)))",
"from collections import Counter",
"a = map(int ,input().split())",
"a",
"map(int ,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(Counter(a)))",
"print",
"len(Counter(a))",
"len",
"Counter(a)",
"Counter",
"a",
"a = map(int ,input().split())",
"map(int ,input().split())",
"a"
] | from collections import Counter
a = map(int ,input().split())
print(len(Counter(a))) |
[
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
]
] | [
"x = list(map(int,input().split()))\nprint(len(set(x)))",
"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",
"x = list(map(int,input().split()))",
"list(map(int,input().split()))",
"x"
] | x = list(map(int,input().split()))
print(len(set(x))) |
[
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
]
] | [
"abc = list(map(int,input().split()))\nset_abc = set(abc)\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",
"set_abc = set(abc)",
"set_abc",
"set(abc)",
"set",
"abc",
"print(len(set_abc))",
"print",
"len(set_abc)",
"len",
"set_abc",
"abc = list(map(int,input().split()))",
"list(map(int,input().split()))",
"abc",
"set_abc = set(abc)",
"set(abc)",
"set_abc"
] | abc = list(map(int,input().split()))
set_abc = set(abc)
print(len(set_abc)) |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
24,
2
],
[
21,
11
],
[
25,
16
],
[
22,
19
],
[
21,
22
],
[
24,
25
]
] | [
"a = list(input().split())\nans = len(set(a))\nprint(ans)",
"a = list(input().split())",
"a",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"ans = len(set(a))",
"ans",
"len(set(a))",
"len",
"set(a)",
"set",
"a",
"print(ans)",
"print",
"ans",
"ans = len(set(a))",
"len(set(a))",
"ans",
"a = list(input().split())",
"list(input().split())",
"a"
] | a = list(input().split())
ans = len(set(a))
print(ans) |
[
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
],
[
47,
21
],
[
53,
22
],
[
50,
23
],
[
47,
31
],
[
53,
32
],
[
53,
34
],
[
50,
35
],
[
50,
37
],
[
47,
38
],
[
52,
47
],
[
52,
50
],
[
52,
53
]
] | [
"a,b,c=[int(i) for i 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(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,b,c=[int(i) for i in input().split()]",
"a",
"[int(i) for i 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\"",
"a,b,c=[int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"a",
"c=[int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"c",
"b,c=[int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"b"
] | a,b,c=[int(i) for i 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,
18,
4,
13,
13,
14,
2,
4,
13,
13,
4,
13,
4,
13,
13,
4,
13,
17,
14,
2,
2,
4,
13,
13,
17,
4,
13,
4,
13,
13,
4,
13,
17,
14,
2,
2,
4,
13,
13,
17,
4,
13,
4,
13,
13,
4,
13,
17,
10,
4,
13
] | [
[
52,
2
],
[
53,
12
],
[
53,
17
],
[
53,
26
],
[
53,
32
],
[
53,
41
],
[
53,
47
],
[
52,
53
]
] | [
"lst = input().split()\nif len(lst) == len(set(lst)):\n\tprint('3')\nif len(lst)-1 == len(set(lst)):\n\tprint('2')\nif len(lst)-2 == len(set(lst)):\n\tprint('1')",
"lst = input().split()",
"lst",
"input().split()",
"().split",
"()",
"input",
"split",
"if len(lst) == len(set(lst)):\n\tprint('3')",
"len(lst) == len(set(lst))",
"len(lst)",
"len",
"lst",
"len(set(lst))",
"len",
"set(lst)",
"set",
"lst",
"print('3')",
"print",
"'3'",
"if len(lst)-1 == len(set(lst)):\n\tprint('2')",
"len(lst)-1 == len(set(lst))",
"len(lst)-1",
"len(lst)",
"len",
"lst",
"1",
"len(set(lst))",
"len",
"set(lst)",
"set",
"lst",
"print('2')",
"print",
"'2'",
"if len(lst)-2 == len(set(lst)):\n\tprint('1')",
"len(lst)-2 == len(set(lst))",
"len(lst)-2",
"len(lst)",
"len",
"lst",
"2",
"len(set(lst))",
"len",
"set(lst)",
"set",
"lst",
"print('1')",
"print",
"'1'",
"lst = input().split()",
"input().split()",
"lst"
] | lst = input().split()
if len(lst) == len(set(lst)):
print('3')
if len(lst)-1 == len(set(lst)):
print('2')
if len(lst)-2 == len(set(lst)):
print('1')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
63,
2
],
[
64,
15
],
[
64,
21
],
[
64,
24
],
[
64,
27
],
[
64,
37
],
[
64,
40
],
[
64,
44
],
[
64,
47
],
[
64,
51
],
[
64,
54
],
[
63,
64
]
] | [
"a=list(map(int,input().split()))\na.sort()\nif a[0]==a[1]==a[2]:\n print(1)\nelse:\n if a[0]==a[1] or a[1]==a[2] or a[2]==a[0]:\n print(2)\n else:\n print(3)",
"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",
"if a[0]==a[1]==a[2]:\n print(1)\nelse:\n if a[0]==a[1] or a[1]==a[2] or a[2]==a[0]:\n print(2)\n else:\n print(3)",
"a[0]==a[1]==a[2]",
"a[0]==a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"print(1)",
"print",
"1",
"if a[0]==a[1] or a[1]==a[2] or a[2]==a[0]:\n print(2)\n else:\n print(3)",
"a[0]==a[1] or a[1]==a[2] or a[2]==a[0]",
"a[0]==a[1] or a[1]==a[2]",
"a[0]==a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"a[1]==a[2]",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"a[2]==a[0]",
"a[2]",
"a",
"2",
"a[0]",
"a",
"0",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a=list(map(int,input().split()))
a.sort()
if a[0]==a[1]==a[2]:
print(1)
else:
if a[0]==a[1] or a[1]==a[2] or a[2]==a[0]:
print(2)
else:
print(3) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
33,
2
],
[
33,
11
],
[
33,
12
],
[
24,
14
],
[
25,
22
],
[
24,
25
],
[
33,
28
],
[
33,
31
],
[
33,
34
]
] | [
"a, b, c = map(int, input().split())\ns = set({a, b, c})\nprint(len(s))",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"s = set({a, b, c})",
"s",
"set({a, b, c})",
"set",
"{a, b, c}",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"s = set({a, b, c})",
"set({a, b, c})",
"s",
"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"
] | a, b, c = map(int, input().split())
s = set({a, b, c})
print(len(s)) |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"abc = input().split()\nprint(len(set(abc)))",
"abc = input().split()",
"abc",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(abc)))",
"print",
"len(set(abc))",
"len",
"set(abc)",
"set",
"abc",
"abc = input().split()",
"input().split()",
"abc"
] | abc = input().split()
print(len(set(abc))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"paint_list = input().split()\nprint(len(set(paint_list)))",
"paint_list = input().split()",
"paint_list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(paint_list)))",
"print",
"len(set(paint_list))",
"len",
"set(paint_list)",
"set",
"paint_list",
"paint_list = input().split()",
"input().split()",
"paint_list"
] | paint_list = input().split()
print(len(set(paint_list))) |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
2,
2,
17,
17,
17,
0,
13,
4,
13,
17,
4,
18,
13,
13,
2,
17,
17,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
2,
13,
10,
12,
13,
10,
4,
13,
10,
18,
13
] | [
[
69,
4
],
[
60,
11
],
[
66,
18
],
[
33,
32
],
[
70,
41
],
[
45,
44
],
[
32,
47
],
[
44,
52
],
[
64,
58
],
[
60,
61
],
[
66,
67
],
[
69,
70
]
] | [
"import sys\n\nreadline = sys.stdin.readline\nMOD = 10 ** 9 + 7\nINF = float('INF')\nsys.setrecursionlimit(10 ** 5)\n\n\ndef main():\n x = list(map(int, readline().split()))\n s = set(x)\n\n print(len(s))\n\n\nif __name__ == '__main__':\n main()",
"import sys",
"sys",
"readline = sys.stdin.readline",
"readline",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"MOD = 10 ** 9 + 7",
"MOD",
"10 ** 9 + 7",
"10 ** 9",
"10",
"9",
"7",
"INF = float('INF')",
"INF",
"float('INF')",
"float",
"'INF'",
"sys.setrecursionlimit(10 ** 5)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 5",
"10",
"5",
"def main():\n x = list(map(int, readline().split()))\n s = set(x)\n\n print(len(s))",
"main",
"x = list(map(int, readline().split()))",
"x",
"list(map(int, readline().split()))",
"list",
"map(int, readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"s = set(x)",
"s",
"set(x)",
"set",
"x",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"MOD = 10 ** 9 + 7",
"10 ** 9 + 7",
"MOD",
"def main():\n x = list(map(int, readline().split()))\n s = set(x)\n\n print(len(s))",
"def main():\n x = list(map(int, readline().split()))\n s = set(x)\n\n print(len(s))",
"main",
"INF = float('INF')",
"float('INF')",
"INF",
"readline = sys.stdin.readline",
"sys.stdin.readline",
"readline"
] | import sys
readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)
def main():
x = list(map(int, readline().split()))
s = set(x)
print(len(s))
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
24,
2
],
[
21,
9
],
[
25,
14
],
[
22,
19
],
[
21,
22
],
[
24,
25
]
] | [
"a=input().split()\nb=list(set(a))\nprint(len(b))",
"a=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b=list(set(a))",
"b",
"list(set(a))",
"list",
"set(a)",
"set",
"a",
"print(len(b))",
"print",
"len(b)",
"len",
"b",
"b=list(set(a))",
"list(set(a))",
"b",
"a=input().split()",
"input().split()",
"a"
] | a=input().split()
b=list(set(a))
print(len(b)) |
[
7,
12,
13,
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,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
4,
18
],
[
13,
19
],
[
14,
20
],
[
4,
28
],
[
13,
29
],
[
4,
31
],
[
14,
32
],
[
13,
34
],
[
14,
35
],
[
46,
43
]
] | [
"def main():\n a, b, c = map(int, input().split())\n\n if a == b == c:\n print(1)\n elif a == b or a == c or b == c:\n print(2)\n else:\n print(3)\nmain()",
"def main():\n a, b, c = map(int, input().split())\n\n if a == b == c:\n print(1)\n elif a == b or a == c or b == c:\n print(2)\n else:\n print(3)",
"main",
"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)\n elif a == b or a == c or b == c:\n print(2)\n else:\n print(3)",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"elif a == b or a == c or b == c:\n print(2)\n ",
"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",
"main()",
"main",
"def main():\n a, b, c = map(int, input().split())\n\n if a == b == c:\n print(1)\n elif a == b or a == c or b == c:\n print(2)\n else:\n print(3)",
"def main():\n a, b, c = map(int, input().split())\n\n if a == b == c:\n print(1)\n elif a == b or a == c or b == c:\n print(2)\n else:\n print(3)",
"main"
] | def main():
a, b, c = map(int, input().split())
if a == b == c:
print(1)
elif a == b or a == c or b == c:
print(2)
else:
print(3)
main() |
[
7,
15,
13,
15,
13,
15,
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
] | [
[
11,
10
],
[
10,
27
],
[
36,
33
]
] | [
"import sys\nimport math\nimport bisect\n \ndef main():\n A = list(map(int, input().split()))\n print(len(set(A)))\n \nif __name__ == \"__main__\":\n main()",
"import sys",
"sys",
"import math",
"math",
"import bisect",
"bisect",
"def main():\n A = list(map(int, input().split()))\n print(len(set(A)))\n ",
"main",
"A = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(A)))",
"print",
"len(set(A))",
"len",
"set(A)",
"set",
"A",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n A = list(map(int, input().split()))\n print(len(set(A)))\n ",
"def main():\n A = list(map(int, input().split()))\n print(len(set(A)))\n ",
"main"
] | import sys
import math
import bisect
def main():
A = list(map(int, input().split()))
print(len(set(A)))
if __name__ == "__main__":
main()
|
[
7,
15,
13,
13,
13,
13,
13,
13,
13,
15,
13,
12,
13,
12,
13,
12,
13,
12,
13,
12,
13,
0,
13,
4,
13,
13,
13,
0,
13,
2,
39,
17,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
4,
13,
4,
13,
13,
10,
12,
13,
10,
2,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13
] | [
[
78,
22
],
[
76,
24
],
[
78,
25
],
[
78,
26
],
[
57,
28
],
[
37,
34
],
[
58,
35
],
[
61,
36
],
[
42,
39
],
[
58,
40
],
[
70,
41
],
[
47,
44
],
[
58,
45
],
[
79,
46
],
[
58,
52
],
[
57,
58
],
[
78,
61
],
[
78,
70
],
[
78,
79
]
] | [
"import bisect,collections,copy,heapq,itertools,math,string\nimport sys\ndef S(): return sys.stdin.readline().rstrip()\ndef M(): return map(int,sys.stdin.readline().rstrip().split())\ndef I(): return int(sys.stdin.readline().rstrip())\ndef LI(): return list(map(int,sys.stdin.readline().rstrip().split()))\ndef LS(): return list(sys.stdin.readline().rstrip().split())\na, b, c = M()\nl = [0]*101\nl[a] = 1\nl[b] = 1\nl[c] = 1\nprint(sum(l))",
"import bisect,collections,copy,heapq,itertools,math,string",
"bisect",
"collections",
"copy",
"heapq",
"itertools",
"math",
"string",
"import sys",
"sys",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"M",
"def I(): return int(sys.stdin.readline().rstrip())",
"I",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"LI",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"LS",
"a, b, c = M()",
"a",
"M()",
"M",
"b",
"c",
"l = [0]*101",
"l",
"[0]*101",
"[0]",
"0",
"101",
"l[a] = 1",
"l[a]",
"l",
"a",
"1",
"l[b] = 1",
"l[b]",
"l",
"b",
"1",
"l[c] = 1",
"l[c]",
"l",
"c",
"1",
"print(sum(l))",
"print",
"sum(l)",
"sum",
"l",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"LI",
"l = [0]*101",
"[0]*101",
"l",
"a, b, c = M()",
"M()",
"a",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"LS",
"def I(): return int(sys.stdin.readline().rstrip())",
"def I(): return int(sys.stdin.readline().rstrip())",
"I",
"b, c = M()",
"M()",
"b",
"def S(): return sys.stdin.readline().rstrip()",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"M",
"c = M()",
"M()",
"c"
] | import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
a, b, c = M()
l = [0]*101
l[a] = 1
l[b] = 1
l[c] = 1
print(sum(l)) |
[
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
]
] | [
"L=set(list(map(int,input().split())))\nprint(len(L))",
"L=set(list(map(int,input().split())))",
"L",
"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(L))",
"print",
"len(L)",
"len",
"L",
"L=set(list(map(int,input().split())))",
"set(list(map(int,input().split())))",
"L"
] | L=set(list(map(int,input().split())))
print(len(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
]
] | [
"lst = list(map(int, input().split()))\nprint(len(set(lst)))",
"lst = list(map(int, input().split()))",
"lst",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(lst)))",
"print",
"len(set(lst))",
"len",
"set(lst)",
"set",
"lst",
"lst = list(map(int, input().split()))",
"list(map(int, input().split()))",
"lst"
] | lst = list(map(int, input().split()))
print(len(set(lst)))
|
[
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
]
] | [
"a=list(map(int,input().split()))\nthing=set()\nfor i in range(3):\n thing.add(a[i])\nprint(len(thing))",
"a=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"thing=set()",
"thing",
"set()",
"set",
"for i in range(3):\n thing.add(a[i])",
"i",
"range(3)",
"range",
"3",
"thing.add(a[i])",
"thing.add",
"thing",
"add",
"a[i]",
"a",
"i",
"print(len(thing))",
"print",
"len(thing)",
"len",
"thing",
"thing=set()",
"set()",
"thing",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a=list(map(int,input().split()))
thing=set()
for i in range(3):
thing.add(a[i])
print(len(thing))
|
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"list = input().split()\nprint(len(set(list)))",
"list = input().split()",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(list)))",
"print",
"len(set(list))",
"len",
"set(list)",
"set",
"list",
"list = input().split()",
"input().split()",
"list"
] | list = input().split()
print(len(set(list))) |
[
7,
12,
13,
0,
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
] | [
[
5,
4
],
[
4,
19
],
[
28,
25
]
] | [
"\ndef main():\n N = map(int, input().split())\n print(len(set(N)))\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n N = map(int, input().split())\n print(len(set(N)))",
"main",
"N = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(N)))",
"print",
"len(set(N))",
"len",
"set(N)",
"set",
"N",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n N = map(int, input().split())\n print(len(set(N)))",
"def main():\n N = map(int, input().split())\n print(len(set(N)))",
"main"
] |
def main():
N = map(int, input().split())
print(len(set(N)))
if __name__ == "__main__":
main()
|
[
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
]
] | [
"ns = set(map(int, input().split()))\nprint(len(ns))",
"ns = set(map(int, input().split()))",
"ns",
"set(map(int, input().split()))",
"set",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(ns))",
"print",
"len(ns)",
"len",
"ns",
"ns = set(map(int, input().split()))",
"set(map(int, input().split()))",
"ns"
] | ns = set(map(int, input().split()))
print(len(ns)) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
32,
14
],
[
29,
17
],
[
33,
20
],
[
30,
27
],
[
33,
27
],
[
29,
30
],
[
32,
33
]
] | [
"l = [ int(x) for x in input().split() ]\nl = set(l)\nprint(len(list(l)))",
"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",
"l = [ int(x) for x in input().split() ]",
"l",
"[ int(x) for x in input().split() ]",
"l = set(l)",
"l",
"set(l)",
"set",
"l",
"print(len(list(l)))",
"print",
"len(list(l))",
"len",
"list(l)",
"list",
"l",
"l = set(l)",
"set(l)",
"l",
"l = [ int(x) for x in input().split() ]",
"[ int(x) for x in input().split() ]",
"l"
] | l = [ int(x) for x in input().split() ]
l = set(l)
print(len(list(l)))
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
13,
13,
10,
4,
13
] | [
[
4,
3
],
[
3,
12
],
[
27,
14
],
[
30,
17
],
[
28,
20
],
[
31,
25
],
[
28,
25
],
[
27,
28
],
[
30,
31
]
] | [
"a = [int(i) for i in input().split()]\na = set(a)\nprint(len(a))",
"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()]",
"a = set(a)",
"a",
"set(a)",
"set",
"a",
"print(len(a))",
"print",
"len(a)",
"len",
"a",
"a = [int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"a",
"a = set(a)",
"set(a)",
"a"
] | a = [int(i) for i in input().split()]
a = set(a)
print(len(a)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
14,
2,
2,
40,
13,
17,
40,
13,
17,
40,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
40,
13,
17,
40,
13,
17,
4,
13,
17,
14,
2,
2,
40,
13,
17,
2,
13,
17,
40,
13,
17,
4,
13,
17,
14,
2,
2,
40,
13,
17,
40,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
2,
13
] | [
[
116,
2
],
[
116,
11
],
[
116,
12
],
[
119,
14
],
[
111,
16
],
[
105,
17
],
[
113,
19
],
[
105,
21
],
[
117,
22
],
[
107,
24
],
[
117,
26
],
[
111,
27
],
[
120,
32
],
[
114,
35
],
[
108,
38
],
[
120,
47
],
[
114,
50
],
[
108,
53
],
[
120,
62
],
[
114,
65
],
[
108,
68
],
[
120,
77
],
[
114,
80
],
[
108,
83
],
[
120,
92
],
[
114,
95
],
[
108,
98
],
[
116,
105
],
[
107,
108
],
[
116,
111
],
[
113,
114
],
[
116,
117
],
[
119,
120
]
] | [
"a, b, c = map(int, input().split())\nd = a - b\ne = b - c\nf = c - a\nif d != 0 and e != 0 and f != 0:\n print(3)\nelif d == 0 and e != 0 and f != 0:\n print(2)\nelif d != 0 and e == 0 and f != 0:\n print(2)\nelif d != 0 and e != 0 and f == 0:\n print(2)\nelif d == 0 and e == 0 and f == 0:\n print(1)",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"d = a - b",
"d",
"a - b",
"a",
"b",
"e = b - c",
"e",
"b - c",
"b",
"c",
"f = c - a",
"f",
"c - a",
"c",
"a",
"if d != 0 and e != 0 and f != 0:\n print(3)\nelif d == 0 and e != 0 and f != 0:\n print(2)\nelif d != 0 and e == 0 and f != 0:\n print(2)\nelif d != 0 and e != 0 and f == 0:\n print(2)\nelif d == 0 and e == 0 and f == 0:\n print(1)",
"d != 0 and e != 0 and f != 0",
"d != 0 and e != 0",
"d != 0",
"d",
"0",
"e != 0",
"e",
"0",
"f != 0",
"f",
"0",
"print(3)",
"print",
"3",
"elif d == 0 and e != 0 and f != 0:\n print(2)",
"d == 0 and e != 0 and f != 0",
"d == 0 and e != 0",
"d == 0",
"d",
"0",
"e != 0",
"e",
"0",
"f != 0",
"f",
"0",
"print(2)",
"print",
"2",
"elif d != 0 and e == 0 and f != 0:\n print(2)",
"d != 0 and e == 0 and f != 0",
"d != 0 and e == 0",
"d != 0",
"d",
"0",
"e == 0",
"e",
"0",
"f != 0",
"f",
"0",
"print(2)",
"print",
"2",
"elif d != 0 and e != 0 and f == 0:\n print(2)",
"d != 0 and e != 0 and f == 0",
"d != 0 and e != 0",
"d != 0",
"d",
"0",
"e != 0",
"e",
"0",
"f == 0",
"f",
"0",
"print(2)",
"print",
"2",
"elif d == 0 and e == 0 and f == 0:\n print(1)",
"d == 0 and e == 0 and f == 0",
"d == 0 and e == 0",
"d == 0",
"d",
"0",
"e == 0",
"e",
"0",
"f == 0",
"f",
"0",
"print(1)",
"print",
"1",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"f = c - a",
"c - a",
"f",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"e = b - c",
"b - c",
"e",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"d = a - b",
"a - b",
"d"
] | a, b, c = map(int, input().split())
d = a - b
e = b - c
f = c - a
if d != 0 and e != 0 and f != 0:
print(3)
elif d == 0 and e != 0 and f != 0:
print(2)
elif d != 0 and e == 0 and f != 0:
print(2)
elif d != 0 and e != 0 and f == 0:
print(2)
elif d == 0 and e == 0 and f == 0:
print(1) |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
17,
4,
13,
13,
14,
40,
18,
13,
13,
18,
13,
2,
13,
17,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
43,
2
],
[
49,
16
],
[
20,
19
],
[
44,
25
],
[
44,
29
],
[
19,
30
],
[
44,
32
],
[
19,
34
],
[
46,
37
],
[
47,
41
],
[
50,
41
],
[
43,
44
],
[
46,
47
],
[
49,
50
]
] | [
"A = sorted(list(map(int, input().split())))\ncnt = 1\nfor i in range(1, len(A)):\n if A[i] != A[i - 1]:\n cnt += 1\nprint(cnt)",
"A = sorted(list(map(int, input().split())))",
"A",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"cnt = 1",
"cnt",
"1",
"for i in range(1, len(A)):\n if A[i] != A[i - 1]:\n cnt += 1",
"i",
"range(1, len(A))",
"range",
"1",
"len(A)",
"len",
"A",
"if A[i] != A[i - 1]:\n cnt += 1",
"A[i] != A[i - 1]",
"A[i]",
"A",
"i",
"A[i - 1]",
"A",
"i - 1",
"i",
"1",
"cnt += 1",
"cnt",
"1",
"print(cnt)",
"print",
"cnt",
"A = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"A",
"cnt += 1",
"1",
"cnt",
"cnt = 1",
"1",
"cnt"
] | A = sorted(list(map(int, input().split())))
cnt = 1
for i in range(1, len(A)):
if A[i] != A[i - 1]:
cnt += 1
print(cnt) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
17,
2,
4,
13,
13,
17,
4,
18,
13,
13,
14,
40,
18,
13,
13,
18,
13,
2,
13,
17,
0,
13,
17,
4,
13,
2,
13,
17,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
52,
2
],
[
55,
14
],
[
18,
17
],
[
53,
24
],
[
53,
28
],
[
53,
33
],
[
17,
34
],
[
53,
36
],
[
17,
38
],
[
49,
41
],
[
50,
46
],
[
56,
46
],
[
49,
50
],
[
52,
53
],
[
55,
56
]
] | [
"abc=list(map(int , input().split()))\ncount=0\nfor i in range(0,len(abc)-1):\n abc.sort()\n if(abc[i] != abc[i+1]):\n count+=1\n \n \n \n \nprint(count+1)",
"abc=list(map(int , input().split()))",
"abc",
"list(map(int , input().split()))",
"list",
"map(int , input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"count=0",
"count",
"0",
"for i in range(0,len(abc)-1):\n abc.sort()\n if(abc[i] != abc[i+1]):\n count+=1\n \n \n \n ",
"i",
"range(0,len(abc)-1)",
"range",
"0",
"len(abc)-1",
"len(abc)",
"len",
"abc",
"1",
"abc.sort()",
"abc.sort",
"abc",
"sort",
"if(abc[i] != abc[i+1]):\n count+=1\n \n \n \n ",
"abc[i] != abc[i+1]",
"abc[i]",
"abc",
"i",
"abc[i+1]",
"abc",
"i+1",
"i",
"1",
"count+=1",
"count",
"1",
"print(count+1)",
"print",
"count+1",
"count",
"1",
"count+=1",
"1",
"count",
"abc=list(map(int , input().split()))",
"list(map(int , input().split()))",
"abc",
"count=0",
"0",
"count"
] | abc=list(map(int , input().split()))
count=0
for i in range(0,len(abc)-1):
abc.sort()
if(abc[i] != abc[i+1]):
count+=1
print(count+1) |
[
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
]
] | [
"#!/usr/bin/env python3\nl = list(map(int, input().split()))\nl = set(l)\nprint(len(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",
"l = set(l)",
"l",
"set(l)",
"set",
"l",
"print(len(l))",
"print",
"len(l)",
"len",
"l",
"l = set(l)",
"set(l)",
"l",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | #!/usr/bin/env python3
l = list(map(int, input().split()))
l = set(l)
print(len(l))
|
[
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
]
] | [
"A = set(map(int,input().split()))\n\nprint(len(A))",
"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"
] | A = set(map(int,input().split()))
print(len(A)) |
[
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
],
[
50,
16
],
[
44,
17
],
[
44,
19
],
[
47,
20
],
[
50,
28
],
[
44,
29
],
[
44,
31
],
[
47,
32
],
[
47,
34
],
[
50,
35
],
[
49,
44
],
[
49,
47
],
[
49,
50
]
] | [
"A, B, C = map(int, input().split())\n\nif A == B and 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 and B == C:\n print(1)\nelif A == B or B == C or C == A:\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 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",
"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 and B == C:
print(1)
elif A == B or B == C or C == A:
print(2)
else:
print(3) |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
17,
4,
13,
4,
13,
4,
18,
13,
13,
13,
10,
4,
13
] | [
[
26,
4
],
[
27,
24
],
[
26,
27
]
] | [
"import numpy as np\narray = list(map(int, input().split(' ')))\nprint(len(np.unique(array)))",
"import numpy as np",
"numpy",
"array = list(map(int, input().split(' ')))",
"array",
"list(map(int, input().split(' ')))",
"list",
"map(int, input().split(' '))",
"map",
"int",
"input().split(' ')",
"().split",
"()",
"input",
"split",
"' '",
"print(len(np.unique(array)))",
"print",
"len(np.unique(array))",
"len",
"np.unique(array)",
"np.unique",
"np",
"unique",
"array",
"array = list(map(int, input().split(' ')))",
"list(map(int, input().split(' ')))",
"array"
] | import numpy as np
array = list(map(int, input().split(' ')))
print(len(np.unique(array))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"l = input().split()\nprint(len(set(l)))",
"l = input().split()",
"l",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(l)))",
"print",
"len(set(l))",
"len",
"set(l)",
"set",
"l",
"l = input().split()",
"input().split()",
"l"
] | l = input().split()
print(len(set(l)))
|
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
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,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
18,
13
] | [
[
70,
4
],
[
14,
13
],
[
71,
20
],
[
14,
22
],
[
14,
23
],
[
26,
25
],
[
13,
30
],
[
22,
31
],
[
23,
32
],
[
35,
34
],
[
13,
38
],
[
22,
39
],
[
42,
41
],
[
22,
45
],
[
23,
46
],
[
49,
48
],
[
23,
52
],
[
13,
53
],
[
56,
55
],
[
55,
59
],
[
48,
59
],
[
41,
59
],
[
34,
59
],
[
25,
59
],
[
68,
65
],
[
70,
71
]
] | [
"import sys\n\ninput = sys.stdin.readline\n\n\ndef main():\n a, b, c = map(int, input().split())\n\n ans = 3\n if a == b == c:\n ans = 1\n else:\n if a == b:\n ans -= 1\n if b == c:\n ans -= 1\n if c == a:\n ans -= 1\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"def main():\n a, b, c = map(int, input().split())\n\n ans = 3\n if a == b == c:\n ans = 1\n else:\n if a == b:\n ans -= 1\n if b == c:\n ans -= 1\n if c == a:\n ans -= 1\n print(ans)",
"main",
"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 == c:\n ans = 1\n else:\n if a == b:\n ans -= 1\n if b == c:\n ans -= 1\n if c == a:\n ans -= 1\n ",
"a == b == c",
"a == b",
"a",
"b",
"c",
"ans = 1",
"ans",
"1",
"if a == b:\n ans -= 1\n ",
"a == b",
"a",
"b",
"ans -= 1",
"ans",
"1",
"if b == c:\n ans -= 1\n ",
"b == c",
"b",
"c",
"ans -= 1",
"ans",
"1",
"if c == a:\n ans -= 1\n ",
"c == a",
"c",
"a",
"ans -= 1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n a, b, c = map(int, input().split())\n\n ans = 3\n if a == b == c:\n ans = 1\n else:\n if a == b:\n ans -= 1\n if b == c:\n ans -= 1\n if c == a:\n ans -= 1\n print(ans)",
"def main():\n a, b, c = map(int, input().split())\n\n ans = 3\n if a == b == c:\n ans = 1\n else:\n if a == b:\n ans -= 1\n if b == c:\n ans -= 1\n if c == a:\n ans -= 1\n print(ans)",
"main",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input"
] | import sys
input = sys.stdin.readline
def main():
a, b, c = map(int, input().split())
ans = 3
if a == b == c:
ans = 1
else:
if a == b:
ans -= 1
if b == c:
ans -= 1
if c == a:
ans -= 1
print(ans)
if __name__ == "__main__":
main()
|
[
7,
0,
13,
4,
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
] | [
[
26,
2
],
[
29,
16
],
[
27,
19
],
[
30,
24
],
[
26,
27
],
[
29,
30
]
] | [
"se = set(list(map(int, input().split())))\n\nn = len(se)\nprint(str(n))",
"se = set(list(map(int, input().split())))",
"se",
"set(list(map(int, input().split())))",
"set",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"n = len(se)",
"n",
"len(se)",
"len",
"se",
"print(str(n))",
"print",
"str(n)",
"str",
"n",
"se = set(list(map(int, input().split())))",
"set(list(map(int, input().split())))",
"se",
"n = len(se)",
"len(se)",
"n"
] | se = set(list(map(int, input().split())))
n = len(se)
print(str(n)) |
[
7,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
40,
18,
13,
17,
18,
13,
17,
0,
13,
17,
14,
2,
40,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
0,
13,
17,
4,
13,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
17,
16
],
[
4,
21
],
[
4,
24
],
[
28,
27
],
[
4,
33
],
[
4,
36
],
[
4,
40
],
[
4,
43
],
[
47,
46
],
[
46,
50
],
[
27,
50
],
[
16,
50
],
[
55,
52
]
] | [
"def main():\n num = list(map(int,input().split()))\n ans = 1 ;\n if num[0]!=num[1]:\n ans+=1\n if num[0]!=num[2] and num[1]!=num[2]:\n ans+=1\n print(ans)\n \nmain()",
"def main():\n num = list(map(int,input().split()))\n ans = 1 ;\n if num[0]!=num[1]:\n ans+=1\n if num[0]!=num[2] and num[1]!=num[2]:\n ans+=1\n print(ans)\n ",
"main",
"num = list(map(int,input().split()))",
"num",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"ans = 1",
"ans",
"1",
"if num[0]!=num[1]:\n ans+=1\n ",
"num[0]!=num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"ans+=1",
"ans",
"1",
"if num[0]!=num[2] and num[1]!=num[2]:\n ans+=1\n ",
"num[0]!=num[2] and num[1]!=num[2]",
"num[0]!=num[2]",
"num[0]",
"num",
"0",
"num[2]",
"num",
"2",
"num[1]!=num[2]",
"num[1]",
"num",
"1",
"num[2]",
"num",
"2",
"ans+=1",
"ans",
"1",
"print(ans)",
"print",
"ans",
"main()",
"main",
"def main():\n num = list(map(int,input().split()))\n ans = 1 ;\n if num[0]!=num[1]:\n ans+=1\n if num[0]!=num[2] and num[1]!=num[2]:\n ans+=1\n print(ans)\n ",
"def main():\n num = list(map(int,input().split()))\n ans = 1 ;\n if num[0]!=num[1]:\n ans+=1\n if num[0]!=num[2] and num[1]!=num[2]:\n ans+=1\n print(ans)\n ",
"main"
] | def main():
num = list(map(int,input().split()))
ans = 1 ;
if num[0]!=num[1]:
ans+=1
if num[0]!=num[2] and num[1]!=num[2]:
ans+=1
print(ans)
main() |
[
7,
0,
13,
4,
13,
28,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
23,
2
],
[
7,
6
],
[
24,
14
],
[
6,
16
],
[
24,
21
],
[
23,
24
]
] | [
"s = set()\nfor i in input().split():\n s.add(i)\n\nprint(len(s))",
"s = set()",
"s",
"set()",
"set",
"for i in input().split():\n s.add(i)",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"s.add(i)",
"s.add",
"s",
"add",
"i",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"s = set()",
"set()",
"s"
] | s = set()
for i in input().split():
s.add(i)
print(len(s))
|
[
7,
15,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
13,
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,
4,
13
] | [
[
49,
3
],
[
49,
12
],
[
49,
13
],
[
46,
15
],
[
23,
20
],
[
47,
21
],
[
41,
22
],
[
28,
25
],
[
47,
26
],
[
50,
27
],
[
33,
30
],
[
47,
31
],
[
44,
32
],
[
47,
38
],
[
49,
41
],
[
49,
44
],
[
46,
47
],
[
49,
50
]
] | [
"from collections import defaultdict\na, b, c = map(int, input().split())\ncnt = defaultdict(int)\ncnt[a] += 1\ncnt[b] += 1\ncnt[c] += 1\nprint(len(cnt))",
"from collections import defaultdict",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"cnt = defaultdict(int)",
"cnt",
"defaultdict(int)",
"defaultdict",
"int",
"cnt[a] += 1",
"cnt[a]",
"cnt",
"a",
"1",
"cnt[b] += 1",
"cnt[b]",
"cnt",
"b",
"1",
"cnt[c] += 1",
"cnt[c]",
"cnt",
"c",
"1",
"print(len(cnt))",
"print",
"len(cnt)",
"len",
"cnt",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"cnt = defaultdict(int)",
"defaultdict(int)",
"cnt",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b"
] | from collections import defaultdict
a, b, c = map(int, input().split())
cnt = defaultdict(int)
cnt[a] += 1
cnt[b] += 1
cnt[c] += 1
print(len(cnt)) |
[
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,
2,
13,
13,
40,
13,
13,
2,
2,
13,
13,
40,
13,
13,
2,
2,
13,
13,
40,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
61,
2
],
[
61,
11
],
[
61,
12
],
[
62,
16
],
[
56,
17
],
[
56,
19
],
[
59,
20
],
[
62,
29
],
[
56,
30
],
[
56,
32
],
[
59,
33
],
[
56,
36
],
[
59,
37
],
[
59,
39
],
[
62,
40
],
[
59,
43
],
[
62,
44
],
[
62,
46
],
[
56,
47
],
[
61,
56
],
[
61,
59
],
[
61,
62
]
] | [
"a,b,c=map(int,input().split())\n\nif a==b and b==c:\n print(1)\nelif (a==b and b!=c) or (b==c and c!=a) or (c==a and 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 and b==c:\n print(1)\nelif (a==b and b!=c) or (b==c and c!=a) or (c==a and a!=b):\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 and b!=c) or (b==c and c!=a) or (c==a and a!=b):\n print(2)",
"(a==b and b!=c) or (b==c and c!=a) or (c==a and a!=b)",
"(a==b and b!=c) or (b==c and c!=a)",
"a==b and b!=c",
"a==b",
"a",
"b",
"b!=c",
"b",
"c",
"b==c and c!=a",
"b==c",
"b",
"c",
"c!=a",
"c",
"a",
"c==a and a!=b",
"c==a",
"c",
"a",
"a!=b",
"a",
"b",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"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 and b==c:
print(1)
elif (a==b and b!=c) or (b==c and c!=a) or (c==a and a!=b):
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
] | [
[
27,
2
],
[
24,
14
],
[
28,
17
],
[
25,
22
],
[
28,
22
],
[
24,
25
],
[
27,
28
]
] | [
"C=list(map(int,input().split()))\nC=set(C)\nprint(len(C))",
"C=list(map(int,input().split()))",
"C",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"C=set(C)",
"C",
"set(C)",
"set",
"C",
"print(len(C))",
"print",
"len(C)",
"len",
"C",
"C=set(C)",
"set(C)",
"C",
"C=list(map(int,input().split()))",
"list(map(int,input().split()))",
"C"
] | C=list(map(int,input().split()))
C=set(C)
print(len(C)) |
[
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
]
] | [
"s = list(map(int,input().split()))\nprint(len(set(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",
"print(len(set(s)))",
"print",
"len(set(s))",
"len",
"set(s)",
"set",
"s",
"s = list(map(int,input().split()))",
"list(map(int,input().split()))",
"s"
] | s = list(map(int,input().split()))
print(len(set(s))) |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
49,
2
],
[
50,
18
],
[
50,
21
],
[
50,
30
],
[
50,
33
],
[
50,
37
],
[
50,
40
],
[
49,
50
]
] | [
"abc=sorted(list(map(int,input().split())))\nif abc[0]==abc[2]:\n print(1)\nelif abc[0]==abc[1] or abc[1]==abc[2]:\n print(2)\nelse:\n print(3)",
"abc=sorted(list(map(int,input().split())))",
"abc",
"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 abc[0]==abc[2]:\n print(1)\nelif abc[0]==abc[1] or abc[1]==abc[2]:\n print(2)\nelse:\n print(3)",
"abc[0]==abc[2]",
"abc[0]",
"abc",
"0",
"abc[2]",
"abc",
"2",
"print(1)",
"print",
"1",
"elif abc[0]==abc[1] or abc[1]==abc[2]:\n print(2)",
"abc[0]==abc[1] or abc[1]==abc[2]",
"abc[0]==abc[1]",
"abc[0]",
"abc",
"0",
"abc[1]",
"abc",
"1",
"abc[1]==abc[2]",
"abc[1]",
"abc",
"1",
"abc[2]",
"abc",
"2",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"abc=sorted(list(map(int,input().split())))",
"sorted(list(map(int,input().split())))",
"abc"
] | abc=sorted(list(map(int,input().split())))
if abc[0]==abc[2]:
print(1)
elif abc[0]==abc[1] or abc[1]==abc[2]:
print(2)
else:
print(3)
|
[
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
]
] | [
"colors = list(map(int, input().split()))\n\nkinds = len(set(colors))\nprint(kinds)",
"colors = list(map(int, input().split()))",
"colors",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"kinds = len(set(colors))",
"kinds",
"len(set(colors))",
"len",
"set(colors)",
"set",
"colors",
"print(kinds)",
"print",
"kinds",
"kinds = len(set(colors))",
"len(set(colors))",
"kinds",
"colors = list(map(int, input().split()))",
"list(map(int, input().split()))",
"colors"
] | colors = list(map(int, input().split()))
kinds = len(set(colors))
print(kinds) |
[
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
]
] | [
"n = list(map(int,input().split()))\nprint(len(set(n)))",
"n = list(map(int,input().split()))",
"n",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(n)))",
"print",
"len(set(n))",
"len",
"set(n)",
"set",
"n",
"n = list(map(int,input().split()))",
"list(map(int,input().split()))",
"n"
] | n = list(map(int,input().split()))
print(len(set(n)))
|
[
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
]
] | [
"color = input().split()\ncolor_set = set(color)\nprint(len(color_set))",
"color = input().split()",
"color",
"input().split()",
"().split",
"()",
"input",
"split",
"color_set = set(color)",
"color_set",
"set(color)",
"set",
"color",
"print(len(color_set))",
"print",
"len(color_set)",
"len",
"color_set",
"color = input().split()",
"input().split()",
"color",
"color_set = set(color)",
"set(color)",
"color_set"
] | color = input().split()
color_set = set(color)
print(len(color_set)) |
[
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
]
] | [
"a = list(map(int, input().split()))\n\nprint(len(set(a)))",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(a)))",
"print",
"len(set(a))",
"len",
"set(a)",
"set",
"a",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a"
] | a = list(map(int, input().split()))
print(len(set(a))) |
[
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
]
] | [
"penkis = list(map(int, input().split()))\nprint(len(set(penkis)))",
"penkis = list(map(int, input().split()))",
"penkis",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(penkis)))",
"print",
"len(set(penkis))",
"len",
"set(penkis)",
"set",
"penkis",
"penkis = list(map(int, input().split()))",
"list(map(int, input().split()))",
"penkis"
] | penkis = list(map(int, input().split()))
print(len(set(penkis)))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
38,
2
],
[
41,
14
],
[
39,
17
],
[
35,
19
],
[
39,
22
],
[
32,
24
],
[
36,
27
],
[
33,
30
],
[
32,
33
],
[
35,
36
],
[
38,
39
],
[
41,
42
]
] | [
"abc_list = list(map(int,input().split()))\nabc_list_len = len(abc_list)\ndum = set(abc_list)\ndum_len = len(dum)\nprint(dum_len)",
"abc_list = list(map(int,input().split()))",
"abc_list",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"abc_list_len = len(abc_list)",
"abc_list_len",
"len(abc_list)",
"len",
"abc_list",
"dum = set(abc_list)",
"dum",
"set(abc_list)",
"set",
"abc_list",
"dum_len = len(dum)",
"dum_len",
"len(dum)",
"len",
"dum",
"print(dum_len)",
"print",
"dum_len",
"dum_len = len(dum)",
"len(dum)",
"dum_len",
"dum = set(abc_list)",
"set(abc_list)",
"dum",
"abc_list = list(map(int,input().split()))",
"list(map(int,input().split()))",
"abc_list",
"abc_list_len = len(abc_list)",
"len(abc_list)",
"abc_list_len"
] | abc_list = list(map(int,input().split()))
abc_list_len = len(abc_list)
dum = set(abc_list)
dum_len = len(dum)
print(dum_len)
|
[
7,
15,
13,
12,
13,
41,
28,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
4,
13,
0,
13,
13,
4,
13,
4,
13,
4,
13,
13,
14,
2,
13,
17,
10,
12,
13
] | [
[
8,
7
],
[
7,
18
],
[
21,
20
],
[
20,
28
]
] | [
"import sys\ndef v():\n x=[x for x in sys.stdin.readline().split()]\n print(len(set(x)))\nif __name__=='__main__':v()",
"import sys",
"sys",
"def v():\n x=[x for x in sys.stdin.readline().split()]\n print(len(set(x)))",
"v",
"x for x in sys.stdin.readline().split()",
"for x in sys.stdin.readline().split()",
"x",
"sys.stdin.readline().split()",
"sys.stdin.readline().split",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"split",
"for x in sys.stdin.readline().split()",
"x",
"x=[x for x in sys.stdin.readline().split()]",
"x",
"[x for x in sys.stdin.readline().split()]",
"print(len(set(x)))",
"print",
"len(set(x))",
"len",
"set(x)",
"set",
"x",
"if __name__=='__main__':v()",
"__name__=='__main__'",
"__name__",
"'__main__'",
"def v():\n x=[x for x in sys.stdin.readline().split()]\n print(len(set(x)))",
"def v():\n x=[x for x in sys.stdin.readline().split()]\n print(len(set(x)))",
"v"
] | import sys
def v():
x=[x for x in sys.stdin.readline().split()]
print(len(set(x)))
if __name__=='__main__':v() |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
14,
2,
2,
13,
13,
2,
2,
13,
13,
40,
13,
13,
14,
2,
2,
13,
13,
40,
13,
13,
10,
18,
13,
10,
18,
13,
10,
4,
13,
10,
18,
13
] | [
[
59,
2
],
[
53,
10
],
[
60,
12
],
[
56,
15
],
[
60,
17
],
[
62,
20
],
[
60,
22
],
[
54,
27
],
[
57,
28
],
[
57,
30
],
[
63,
31
],
[
54,
35
],
[
57,
36
],
[
54,
39
],
[
63,
40
],
[
57,
42
],
[
63,
43
],
[
57,
47
],
[
63,
48
],
[
54,
50
],
[
57,
51
],
[
53,
54
],
[
56,
57
],
[
59,
60
],
[
62,
63
]
] | [
"A = input().split(\" \")\n\na = A[0]\nb = A[1]\nc = A[2]\n\nif a == b and b == c: print(1)\nelif a == b or a == c and b != c : print(2)\nelif b == c and a != b : print(2)\nelse : print(3)",
"A = input().split(\" \")",
"A",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"a = A[0]",
"a",
"A[0]",
"A",
"0",
"b = A[1]",
"b",
"A[1]",
"A",
"1",
"c = A[2]",
"c",
"A[2]",
"A",
"2",
"if a == b and b == c: print(1)\nelif a == b or a == c and b != c : print(2)\nelif b == c and a != b : print(2)\nelse : print(3)",
"a == b and b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"elif a == b or a == c and b != c : print(2)",
"a == b or a == c and b != c",
"a == b",
"a",
"b",
"a == c and b != c",
"a == c",
"a",
"c",
"b != c",
"b",
"c",
"elif b == c and a != b : print(2)",
"b == c and a != b",
"b == c",
"b",
"c",
"a != b",
"a",
"b",
"a = A[0]",
"A[0]",
"a",
"b = A[1]",
"A[1]",
"b",
"A = input().split(\" \")",
"input().split(\" \")",
"A",
"c = A[2]",
"A[2]",
"c"
] | A = input().split(" ")
a = A[0]
b = A[1]
c = A[2]
if a == b and b == c: print(1)
elif a == b or a == c and b != c : print(2)
elif b == c and a != b : print(2)
else : print(3) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
18,
13,
13,
17,
0,
18,
13,
18,
13,
13,
17,
4,
13,
4,
13,
13,
10,
4,
13,
10,
17,
13
] | [
[
44,
2
],
[
47,
14
],
[
18,
17
],
[
45,
22
],
[
48,
25
],
[
45,
28
],
[
17,
29
],
[
37,
32
],
[
48,
33
],
[
45,
35
],
[
17,
36
],
[
48,
42
],
[
44,
45
],
[
47,
48
]
] | [
"a = list(map(int,input().split()))\ndic = {}\nfor i in range(len(a)):\n dic.setdefault(a[i],0)\n dic[a[i]]+=1\nprint(len(dic))",
"a = list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"dic = {}",
"dic",
"{}",
"for i in range(len(a)):\n dic.setdefault(a[i],0)\n dic[a[i]]+=1",
"i",
"range(len(a))",
"range",
"len(a)",
"len",
"a",
"dic.setdefault(a[i],0)",
"dic.setdefault",
"dic",
"setdefault",
"a[i]",
"a",
"i",
"0",
"dic[a[i]]+=1",
"dic[a[i]]",
"dic",
"a[i]",
"a",
"i",
"1",
"print(len(dic))",
"print",
"len(dic)",
"len",
"dic",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"dic = {}",
"{}",
"dic"
] | a = list(map(int,input().split()))
dic = {}
for i in range(len(a)):
dic.setdefault(a[i],0)
dic[a[i]]+=1
print(len(dic)) |
[
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
]
] | [
"al = list(map(int, input().split()))\nprint(len(set(al)))\n",
"al = list(map(int, input().split()))",
"al",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(al)))",
"print",
"len(set(al))",
"len",
"set(al)",
"set",
"al",
"al = list(map(int, input().split()))",
"list(map(int, input().split()))",
"al"
] | al = list(map(int, input().split()))
print(len(set(al)))
|
[
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
]
] | [
"List = list(map(int, input().split()))\ns= set(List)\nprint(len(s))",
"List = list(map(int, input().split()))",
"List",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"s= set(List)",
"s",
"set(List)",
"set",
"List",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"List = list(map(int, input().split()))",
"list(map(int, input().split()))",
"List",
"s= set(List)",
"set(List)",
"s"
] | List = list(map(int, input().split()))
s= set(List)
print(len(s)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
27,
2
],
[
27,
11
],
[
27,
12
],
[
27,
22
],
[
27,
25
],
[
27,
28
]
] | [
"a,b,c = map(int,input().split())\nprint(len(set({a,b,c})))",
"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 = 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())
print(len(set({a,b,c}))) |
[
7,
12,
13,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
14,
2,
17,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
16
],
[
25,
22
]
] | [
"\ndef resolve():\n colors = input().split()\n print(len(set(colors)))\n \n \n\n\nif '__main__' == __name__:\n resolve()",
"def resolve():\n colors = input().split()\n print(len(set(colors)))\n \n ",
"resolve",
"colors = input().split()",
"colors",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(colors)))",
"print",
"len(set(colors))",
"len",
"set(colors)",
"set",
"colors",
"if '__main__' == __name__:\n resolve()",
"'__main__' == __name__",
"'__main__'",
"__name__",
"resolve()",
"resolve",
"def resolve():\n colors = input().split()\n print(len(set(colors)))\n \n ",
"def resolve():\n colors = input().split()\n print(len(set(colors)))\n \n ",
"resolve"
] |
def resolve():
colors = input().split()
print(len(set(colors)))
if '__main__' == __name__:
resolve() |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
4,
13,
4,
13
] | [
[
4,
3
],
[
3,
12
]
] | [
"print(len({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({int(i) for i in input().split()}))",
"print",
"len({int(i) for i in input().split()})",
"len"
] | print(len({int(i) for i in input().split()}))
|
[
7,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
0,
13,
4,
13,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
17,
16
],
[
20,
19
],
[
16,
22
],
[
19,
25
],
[
34,
31
]
] | [
"# -*- coding: utf-8 -*-\n\ndef main():\n\n a, b, c = map(int, input().split())\n\n color = {a, b, c}\n\n ans = len(color)\n\n print(ans)\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n\n a, b, c = map(int, input().split())\n\n color = {a, b, c}\n\n ans = len(color)\n\n print(ans)",
"main",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"color = {a, b, c}",
"color",
"{a, b, c}",
"ans = len(color)",
"ans",
"len(color)",
"len",
"color",
"print(ans)",
"print",
"ans",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n\n a, b, c = map(int, input().split())\n\n color = {a, b, c}\n\n ans = len(color)\n\n print(ans)",
"def main():\n\n a, b, c = map(int, input().split())\n\n color = {a, b, c}\n\n ans = len(color)\n\n print(ans)",
"main"
] | # -*- coding: utf-8 -*-
def main():
a, b, c = map(int, input().split())
color = {a, b, c}
ans = len(color)
print(ans)
if __name__ == "__main__":
main() |
[
7,
15,
15,
15,
15,
15,
12,
13,
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
] | [
[
10,
9
],
[
10,
18
],
[
10,
19
],
[
38,
35
]
] | [
"from fractions import gcd\nfrom collections import Counter, deque, defaultdict\nfrom heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge\nfrom bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort\nfrom itertools import accumulate, product, permutations, combinations\n\ndef main():\n a, b, c = map(int, input().split())\n\n print(len(set([a, b, c])))\n\nif __name__ == '__main__':\n main()",
"from fractions import gcd",
"from collections import Counter, deque, defaultdict",
"from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge",
"from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort",
"from itertools import accumulate, product, permutations, combinations",
"def main():\n a, b, c = map(int, input().split())\n\n print(len(set([a, b, c])))",
"main",
"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 a, b, c = map(int, input().split())\n\n print(len(set([a, b, c])))",
"def main():\n a, b, c = map(int, input().split())\n\n print(len(set([a, b, c])))",
"main"
] | from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumulate, product, permutations, combinations
def main():
a, b, c = map(int, input().split())
print(len(set([a, b, c])))
if __name__ == '__main__':
main() |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
4,
3
],
[
3,
12
],
[
24,
14
],
[
25,
22
],
[
24,
25
]
] | [
"abc = set([int(i) for i in input().split()])\nprint(len(abc))",
"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",
"abc = set([int(i) for i in input().split()])",
"abc",
"set([int(i) for i in input().split()])",
"set",
"[int(i) for i in input().split()]",
"print(len(abc))",
"print",
"len(abc)",
"len",
"abc",
"abc = set([int(i) for i in input().split()])",
"set([int(i) for i in input().split()])",
"abc"
] | abc = set([int(i) for i in input().split()])
print(len(abc)) |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
41,
28,
13,
13,
4,
4,
13,
13,
0,
13,
13,
4,
18,
13,
13,
0,
13,
39,
18,
13,
17,
28,
13,
4,
13,
17,
4,
13,
13,
14,
40,
18,
13,
13,
18,
13,
2,
13,
17,
4,
18,
13,
13,
18,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
13,
13,
10,
39,
13
] | [
[
61,
2
],
[
12,
11
],
[
62,
11
],
[
11,
16
],
[
64,
18
],
[
65,
22
],
[
67,
25
],
[
65,
28
],
[
32,
31
],
[
65,
37
],
[
65,
41
],
[
31,
42
],
[
65,
44
],
[
31,
46
],
[
68,
50
],
[
65,
53
],
[
31,
54
],
[
68,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
]
] | [
"str_line = input().split(\" \")\nnum_line = [int(n) for n in str_line]\n\nnum_line.sort()\nnum_list = [num_line[0]]\nfor i in range(1,len(num_line)):\n if num_line[i] != num_line[i-1]:\n num_list.append(num_line[i])\n\n#print(num_list)\nprint(len(num_list))",
"str_line = input().split(\" \")",
"str_line",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"int(n) for n in str_line",
"for n in str_line",
"n",
"str_line",
"for n in str_line",
"int(n)",
"int",
"n",
"num_line = [int(n) for n in str_line]",
"num_line",
"[int(n) for n in str_line]",
"num_line.sort()",
"num_line.sort",
"num_line",
"sort",
"num_list = [num_line[0]]",
"num_list",
"[num_line[0]]",
"num_line[0]",
"num_line",
"0",
"for i in range(1,len(num_line)):\n if num_line[i] != num_line[i-1]:\n num_list.append(num_line[i])\n\n#print(num_list)",
"i",
"range(1,len(num_line))",
"range",
"1",
"len(num_line)",
"len",
"num_line",
"if num_line[i] != num_line[i-1]:\n num_list.append(num_line[i])\n\n#print(num_list)",
"num_line[i] != num_line[i-1]",
"num_line[i]",
"num_line",
"i",
"num_line[i-1]",
"num_line",
"i-1",
"i",
"1",
"num_list.append(num_line[i])",
"num_list.append",
"num_list",
"append",
"num_line[i]",
"num_line",
"i",
"print(len(num_list))",
"print",
"len(num_list)",
"len",
"num_list",
"str_line = input().split(\" \")",
"input().split(\" \")",
"str_line",
"num_line = [int(n) for n in str_line]",
"[int(n) for n in str_line]",
"num_line",
"num_list = [num_line[0]]",
"[num_line[0]]",
"num_list"
] | str_line = input().split(" ")
num_line = [int(n) for n in str_line]
num_line.sort()
num_list = [num_line[0]]
for i in range(1,len(num_line)):
if num_line[i] != num_line[i-1]:
num_list.append(num_line[i])
#print(num_list)
print(len(num_list)) |
[
7,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
13,
14,
2,
2,
40,
40,
17,
4,
13,
18,
13,
17,
17,
40,
40,
17,
4,
13,
18,
13,
17,
17,
40,
40,
17,
4,
13,
18,
13,
17,
17,
28,
13,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
71,
2
],
[
65,
6
],
[
72,
9
],
[
74,
13
],
[
66,
25
],
[
66,
34
],
[
66,
43
],
[
48,
47
],
[
66,
47
],
[
75,
51
],
[
47,
53
],
[
68,
55
],
[
75,
58
],
[
69,
63
],
[
75,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
],
[
74,
75
]
] | [
"l = input()\narr = l.split(' ')\ns = set()\nif 1 <= int(arr[0]) <= 100 and 1 <= int(arr[1]) <= 100 and 1 <= int(arr[2]) <= 100:\n for e in arr:\n s.add(e)\ns = list(s)\nprint(len(s))",
"l = input()",
"l",
"input()",
"input",
"arr = l.split(' ')",
"arr",
"l.split(' ')",
"l.split",
"l",
"split",
"' '",
"s = set()",
"s",
"set()",
"set",
"if 1 <= int(arr[0]) <= 100 and 1 <= int(arr[1]) <= 100 and 1 <= int(arr[2]) <= 100:\n for e in arr:\n s.add(e)",
"1 <= int(arr[0]) <= 100 and 1 <= int(arr[1]) <= 100 and 1 <= int(arr[2]) <= 100",
"1 <= int(arr[0]) <= 100 and 1 <= int(arr[1]) <= 100",
"1 <= int(arr[0]) <= 100",
"1 <= int(arr[0])",
"1",
"int(arr[0])",
"int",
"arr[0]",
"arr",
"0",
"100",
"1 <= int(arr[1]) <= 100",
"1 <= int(arr[1])",
"1",
"int(arr[1])",
"int",
"arr[1]",
"arr",
"1",
"100",
"1 <= int(arr[2]) <= 100",
"1 <= int(arr[2])",
"1",
"int(arr[2])",
"int",
"arr[2]",
"arr",
"2",
"100",
"for e in arr:\n s.add(e)",
"e",
"arr",
"s.add(e)",
"s.add",
"s",
"add",
"e",
"s = list(s)",
"s",
"list(s)",
"list",
"s",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"arr = l.split(' ')",
"l.split(' ')",
"arr",
"s = list(s)",
"list(s)",
"s",
"l = input()",
"input()",
"l",
"s = set()",
"set()",
"s"
] | l = input()
arr = l.split(' ')
s = set()
if 1 <= int(arr[0]) <= 100 and 1 <= int(arr[1]) <= 100 and 1 <= int(arr[2]) <= 100:
for e in arr:
s.add(e)
s = list(s)
print(len(s)) |
[
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
]
] | [
"ary = list(map(int, input().split()))\nprint(len(set(ary)))",
"ary = list(map(int, input().split()))",
"ary",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(ary)))",
"print",
"len(set(ary))",
"len",
"set(ary)",
"set",
"ary",
"ary = list(map(int, input().split()))",
"list(map(int, input().split()))",
"ary"
] | ary = list(map(int, input().split()))
print(len(set(ary))) |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
31,
4
],
[
28,
16
],
[
32,
21
],
[
29,
26
],
[
28,
29
],
[
31,
32
]
] | [
"import collections as c\na = list(map(int, input().split()))\np = c.Counter(a)\nprint(len(p))",
"import collections as c",
"collections",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"p = c.Counter(a)",
"p",
"c.Counter(a)",
"c.Counter",
"c",
"Counter",
"a",
"print(len(p))",
"print",
"len(p)",
"len",
"p",
"p = c.Counter(a)",
"c.Counter(a)",
"p",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a"
] | import collections as c
a = list(map(int, input().split()))
p = c.Counter(a)
print(len(p)) |
[
7,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
28,
13,
4,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
61,
2
],
[
82,
6
],
[
62,
9
],
[
76,
13
],
[
73,
16
],
[
79,
19
],
[
64,
22
],
[
26,
25
],
[
83,
30
],
[
33,
32
],
[
25,
35
],
[
83,
39
],
[
25,
40
],
[
83,
42
],
[
32,
43
],
[
85,
45
],
[
86,
49
],
[
74,
49
],
[
68,
49
],
[
70,
52
],
[
67,
55
],
[
71,
59
],
[
77,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
],
[
70,
71
],
[
73,
74
],
[
76,
77
],
[
79,
80
],
[
82,
83
],
[
85,
86
]
] | [
"sample = input()\nsample_list = sample.split(\" \")\ncount = 0\nflag = 0\ni = 0\nj = 1\nfor i in range(len(sample_list)):\n for j in range(i):\n if sample_list[i] == sample_list[j]:\n flag = 1\n if flag == 0:\n count += 1\n flag = 0\nprint(count)",
"sample = input()",
"sample",
"input()",
"input",
"sample_list = sample.split(\" \")",
"sample_list",
"sample.split(\" \")",
"sample.split",
"sample",
"split",
"\" \"",
"count = 0",
"count",
"0",
"flag = 0",
"flag",
"0",
"i = 0",
"i",
"0",
"j = 1",
"j",
"1",
"for i in range(len(sample_list)):\n for j in range(i):\n if sample_list[i] == sample_list[j]:\n flag = 1\n if flag == 0:\n count += 1\n flag = 0",
"i",
"range(len(sample_list))",
"range",
"len(sample_list)",
"len",
"sample_list",
"for j in range(i):\n if sample_list[i] == sample_list[j]:\n flag = 1\n ",
"j",
"range(i)",
"range",
"i",
"if sample_list[i] == sample_list[j]:\n flag = 1\n ",
"sample_list[i] == sample_list[j]",
"sample_list[i]",
"sample_list",
"i",
"sample_list[j]",
"sample_list",
"j",
"flag = 1",
"flag",
"1",
"if flag == 0:\n count += 1\n ",
"flag == 0",
"flag",
"0",
"count += 1",
"count",
"1",
"flag = 0",
"flag",
"0",
"print(count)",
"print",
"count",
"sample = input()",
"input()",
"sample",
"j = 1",
"1",
"j",
"flag = 0",
"0",
"flag",
"count += 1",
"1",
"count",
"flag = 0",
"0",
"flag",
"count = 0",
"0",
"count",
"i = 0",
"0",
"i",
"sample_list = sample.split(\" \")",
"sample.split(\" \")",
"sample_list",
"flag = 1",
"1",
"flag"
] | sample = input()
sample_list = sample.split(" ")
count = 0
flag = 0
i = 0
j = 1
for i in range(len(sample_list)):
for j in range(i):
if sample_list[i] == sample_list[j]:
flag = 1
if flag == 0:
count += 1
flag = 0
print(count)
|
[
7,
12,
13,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
14,
2,
40,
13,
13,
40,
13,
13,
0,
13,
17,
4,
13,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
9,
8
],
[
4,
11
],
[
16,
15
],
[
8,
19
],
[
23,
22
],
[
8,
26
],
[
30,
29
],
[
8,
33
],
[
37,
36
],
[
15,
40
],
[
22,
41
],
[
44,
43
],
[
15,
48
],
[
29,
49
],
[
22,
51
],
[
29,
52
],
[
55,
54
],
[
54,
58
],
[
43,
58
],
[
36,
58
],
[
63,
60
]
] | [
"def paint():\n s = input()\n slist = s.split(' ')\n\n a = int(slist[0])\n b = int(slist[1])\n c = int(slist[2])\n count = 1\n if a != b:\n count += 1\n if a != c and b != c:\n count += 1\n\n print(count)\n\npaint()",
"def paint():\n s = input()\n slist = s.split(' ')\n\n a = int(slist[0])\n b = int(slist[1])\n c = int(slist[2])\n count = 1\n if a != b:\n count += 1\n if a != c and b != c:\n count += 1\n\n print(count)",
"paint",
"s = input()",
"s",
"input()",
"input",
"slist = s.split(' ')",
"slist",
"s.split(' ')",
"s.split",
"s",
"split",
"' '",
"a = int(slist[0])",
"a",
"int(slist[0])",
"int",
"slist[0]",
"slist",
"0",
"b = int(slist[1])",
"b",
"int(slist[1])",
"int",
"slist[1]",
"slist",
"1",
"c = int(slist[2])",
"c",
"int(slist[2])",
"int",
"slist[2]",
"slist",
"2",
"count = 1",
"count",
"1",
"if a != b:\n count += 1\n ",
"a != b",
"a",
"b",
"count += 1",
"count",
"1",
"if a != c and b != c:\n count += 1\n\n ",
"a != c and b != c",
"a != c",
"a",
"c",
"b != c",
"b",
"c",
"count += 1",
"count",
"1",
"print(count)",
"print",
"count",
"paint()",
"paint",
"def paint():\n s = input()\n slist = s.split(' ')\n\n a = int(slist[0])\n b = int(slist[1])\n c = int(slist[2])\n count = 1\n if a != b:\n count += 1\n if a != c and b != c:\n count += 1\n\n print(count)",
"def paint():\n s = input()\n slist = s.split(' ')\n\n a = int(slist[0])\n b = int(slist[1])\n c = int(slist[2])\n count = 1\n if a != b:\n count += 1\n if a != c and b != c:\n count += 1\n\n print(count)",
"paint"
] | def paint():
s = input()
slist = s.split(' ')
a = int(slist[0])
b = int(slist[1])
c = int(slist[2])
count = 1
if a != b:
count += 1
if a != c and b != c:
count += 1
print(count)
paint() |
[
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
],
[
24,
25
],
[
27,
28
]
] | [
"li = list(map(int,input().split()))\ns = set(li)\n\nprint(len(s))",
"li = list(map(int,input().split()))",
"li",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"s = set(li)",
"s",
"set(li)",
"set",
"li",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"s = set(li)",
"set(li)",
"s",
"li = list(map(int,input().split()))",
"list(map(int,input().split()))",
"li"
] | li = list(map(int,input().split()))
s = set(li)
print(len(s))
|
[
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
]
] | [
"li = set(map(int,input().split()))\nprint(len(li))",
"li = set(map(int,input().split()))",
"li",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(li))",
"print",
"len(li)",
"len",
"li",
"li = set(map(int,input().split()))",
"set(map(int,input().split()))",
"li"
] | li = set(map(int,input().split()))
print(len(li)) |
[
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
]
] | [
"arr = list(map(int, input().split()))\nprint(len(set(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",
"print(len(set(arr)))",
"print",
"len(set(arr))",
"len",
"set(arr)",
"set",
"arr",
"arr = list(map(int, input().split()))",
"list(map(int, input().split()))",
"arr"
] | arr = list(map(int, input().split()))
print(len(set(arr))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
2,
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,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
64,
2
],
[
64,
8
],
[
64,
9
],
[
49,
11
],
[
59,
16
],
[
62,
17
],
[
62,
19
],
[
65,
20
],
[
52,
22
],
[
59,
28
],
[
62,
29
],
[
62,
31
],
[
65,
32
],
[
65,
34
],
[
59,
35
],
[
55,
37
],
[
46,
40
],
[
47,
44
],
[
56,
44
],
[
53,
44
],
[
50,
44
],
[
46,
47
],
[
49,
50
],
[
52,
53
],
[
55,
56
],
[
64,
59
],
[
64,
62
],
[
64,
65
]
] | [
"a, b, c = input().split()\ncolors = 0\nif a == b and b == c:\n colors = 1\nelif a == b or b == c or c == a:\n colors = 2\nelse:\n colors = 3\nprint(colors)",
"a, b, c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"colors = 0",
"colors",
"0",
"if a == b and b == c:\n colors = 1\nelif a == b or b == c or c == a:\n colors = 2\nelse:\n colors = 3",
"a == b and b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"colors = 1",
"colors",
"1",
"elif a == b or b == c or c == a:\n colors = 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",
"colors = 2",
"colors",
"2",
"colors = 3",
"colors",
"3",
"print(colors)",
"print",
"colors",
"colors = 3",
"3",
"colors",
"colors = 0",
"0",
"colors",
"colors = 1",
"1",
"colors",
"colors = 2",
"2",
"colors",
"a, b, c = input().split()",
"input().split()",
"a",
"b, c = input().split()",
"input().split()",
"b",
"c = input().split()",
"input().split()",
"c"
] | a, b, c = input().split()
colors = 0
if a == b and b == c:
colors = 1
elif a == b or b == c or c == a:
colors = 2
else:
colors = 3
print(colors) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
13,
4,
13,
17,
4,
13,
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,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
67,
2
],
[
67,
11
],
[
67,
12
],
[
64,
14
],
[
56,
19
],
[
68,
20
],
[
62,
21
],
[
56,
29
],
[
68,
30
],
[
70,
32
],
[
56,
36
],
[
62,
37
],
[
58,
39
],
[
68,
43
],
[
62,
44
],
[
52,
46
],
[
53,
50
],
[
59,
50
],
[
71,
50
],
[
65,
50
],
[
52,
53
],
[
67,
56
],
[
58,
59
],
[
67,
62
],
[
64,
65
],
[
67,
68
],
[
70,
71
]
] | [
"a, b, c = map(int, input().split())\ncount = 3\n\nif a == b == c:\n print(1)\n exit()\nif a == b:\n count -=1\nif a == c:\n count -=1\nif b == c:\n count -=1\nprint(count)",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"count = 3",
"count",
"3",
"if a == b == c:\n print(1)\n exit()",
"a == b == c",
"a == b",
"a",
"b",
"c",
"print(1)",
"print",
"1",
"exit()",
"exit",
"if a == b:\n count -=1",
"a == b",
"a",
"b",
"count -=1",
"count",
"1",
"if a == c:\n count -=1",
"a == c",
"a",
"c",
"count -=1",
"count",
"1",
"if b == c:\n count -=1",
"b == c",
"b",
"c",
"count -=1",
"count",
"1",
"print(count)",
"print",
"count",
"count -=1",
"1",
"count",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"count -=1",
"1",
"count",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"count = 3",
"3",
"count",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"count -=1",
"1",
"count"
] | a, b, c = map(int, input().split())
count = 3
if a == b == c:
print(1)
exit()
if a == b:
count -=1
if a == c:
count -=1
if b == c:
count -=1
print(count) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
4,
13,
4,
13,
39,
13,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
30,
2
],
[
30,
11
],
[
30,
12
],
[
30,
25
],
[
30,
28
],
[
30,
31
]
] | [
"a, b, c = map(int, (input().split()))\nprint(len(set([a, b, c])))",
"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",
"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()))
print(len(set([a, b, c]))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
40,
2,
18,
13,
17,
18,
13,
17,
40,
2,
18,
13,
17,
18,
13,
17,
40,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
107,
2
],
[
108,
17
],
[
108,
20
],
[
108,
25
],
[
108,
28
],
[
108,
39
],
[
108,
42
],
[
108,
47
],
[
108,
50
],
[
108,
55
],
[
108,
58
],
[
108,
67
],
[
108,
70
],
[
108,
75
],
[
108,
78
],
[
108,
87
],
[
108,
90
],
[
108,
95
],
[
108,
98
],
[
107,
108
]
] | [
"A=list(map(int,input().split()))\n\nif A[0]==A[1] and not A[0]==A[2]:\n print(2)\nelif not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]:\n print(3)\nelif A[0]==A[2] and not A[0]==A[1]:\n print(2)\nelif A[1]==A[2] and not A[1]==A[0]:\n print(2)\nelse:\n print(1)",
"A=list(map(int,input().split()))",
"A",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if A[0]==A[1] and not A[0]==A[2]:\n print(2)\nelif not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]:\n print(3)\nelif A[0]==A[2] and not A[0]==A[1]:\n print(2)\nelif A[1]==A[2] and not A[1]==A[0]:\n print(2)\nelse:\n print(1)",
"A[0]==A[1] and not A[0]==A[2]",
"A[0]==A[1]",
"A[0]",
"A",
"0",
"A[1]",
"A",
"1",
"not A[0]==A[2]",
"A[0]==A[2]",
"A[0]",
"A",
"0",
"A[2]",
"A",
"2",
"print(2)",
"print",
"2",
"elif not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]:\n print(3)",
"not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]",
"not A[0]==A[1] and not A[1]==A[2]",
"not A[0]==A[1]",
"A[0]==A[1]",
"A[0]",
"A",
"0",
"A[1]",
"A",
"1",
"not A[1]==A[2]",
"A[1]==A[2]",
"A[1]",
"A",
"1",
"A[2]",
"A",
"2",
"not A[0]==A[2]",
"A[0]==A[2]",
"A[0]",
"A",
"0",
"A[2]",
"A",
"2",
"print(3)",
"print",
"3",
"elif A[0]==A[2] and not A[0]==A[1]:\n print(2)",
"A[0]==A[2] and not A[0]==A[1]",
"A[0]==A[2]",
"A[0]",
"A",
"0",
"A[2]",
"A",
"2",
"not A[0]==A[1]",
"A[0]==A[1]",
"A[0]",
"A",
"0",
"A[1]",
"A",
"1",
"print(2)",
"print",
"2",
"elif A[1]==A[2] and not A[1]==A[0]:\n print(2)",
"A[1]==A[2] and not A[1]==A[0]",
"A[1]==A[2]",
"A[1]",
"A",
"1",
"A[2]",
"A",
"2",
"not A[1]==A[0]",
"A[1]==A[0]",
"A[1]",
"A",
"1",
"A[0]",
"A",
"0",
"print(2)",
"print",
"2",
"print(1)",
"print",
"1",
"A=list(map(int,input().split()))",
"list(map(int,input().split()))",
"A"
] | A=list(map(int,input().split()))
if A[0]==A[1] and not A[0]==A[2]:
print(2)
elif not A[0]==A[1] and not A[1]==A[2] and not A[0]==A[2]:
print(3)
elif A[0]==A[2] and not A[0]==A[1]:
print(2)
elif A[1]==A[2] and not A[1]==A[0]:
print(2)
else:
print(1)
|
[
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
]
] | [
"lst = list(input().split())\nprint(len(set(lst)))",
"lst = list(input().split())",
"lst",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(lst)))",
"print",
"len(set(lst))",
"len",
"set(lst)",
"set",
"lst",
"lst = list(input().split())",
"list(input().split())",
"lst"
] | lst = list(input().split())
print(len(set(lst))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
16,
2
],
[
17,
14
],
[
16,
17
]
] | [
"li = input().split()\nprint(len(set(li)))",
"li = input().split()",
"li",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(li)))",
"print",
"len(set(li))",
"len",
"set(li)",
"set",
"li",
"li = input().split()",
"input().split()",
"li"
] | li = input().split()
print(len(set(li))) |
[
7,
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
] | [
[
5,
4
],
[
4,
21
],
[
30,
27
]
] | [
"# A - AtCoDeerくんとペンキ\ndef main():\n abc = list(map(int, input().split()))\n\n print(len(set(abc)))\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n abc = list(map(int, input().split()))\n\n print(len(set(abc)))",
"main",
"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",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n abc = list(map(int, input().split()))\n\n print(len(set(abc)))",
"def main():\n abc = list(map(int, input().split()))\n\n print(len(set(abc)))",
"main"
] | # A - AtCoDeerくんとペンキ
def main():
abc = list(map(int, input().split()))
print(len(set(abc)))
if __name__ == "__main__":
main() |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
17,
13,
13,
0,
13,
39,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13
] | [
[
37,
2
],
[
37,
12
],
[
37,
13
],
[
31,
15
],
[
32,
26
],
[
37,
29
],
[
31,
32
],
[
37,
35
],
[
37,
38
]
] | [
"a, b, c=map(int, input().split(\" \"))\nink=[a, b, c]\nprint(len(set(ink)))",
"a, b, c=map(int, input().split(\" \"))",
"a",
"map(int, input().split(\" \"))",
"map",
"int",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"b",
"c",
"ink=[a, b, c]",
"ink",
"[a, b, c]",
"a",
"b",
"c",
"print(len(set(ink)))",
"print",
"len(set(ink))",
"len",
"set(ink)",
"set",
"ink",
"b, c=map(int, input().split(\" \"))",
"map(int, input().split(\" \"))",
"b",
"ink=[a, b, c]",
"[a, b, c]",
"ink",
"a, b, c=map(int, input().split(\" \"))",
"map(int, input().split(\" \"))",
"a",
"c=map(int, input().split(\" \"))",
"map(int, input().split(\" \"))",
"c"
] | a, b, c=map(int, input().split(" "))
ink=[a, b, c]
print(len(set(ink))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
40,
2,
13,
13,
0,
13,
2,
13,
17,
14,
2,
40,
2,
13,
13,
40,
2,
13,
13,
0,
13,
2,
13,
17,
4,
13,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
17,
13
] | [
[
54,
2
],
[
54,
8
],
[
54,
9
],
[
57,
11
],
[
43,
16
],
[
55,
17
],
[
51,
19
],
[
58,
21
],
[
43,
27
],
[
49,
28
],
[
55,
31
],
[
49,
32
],
[
45,
34
],
[
52,
36
],
[
58,
36
],
[
46,
40
],
[
52,
40
],
[
58,
40
],
[
54,
43
],
[
45,
46
],
[
54,
49
],
[
51,
52
],
[
54,
55
],
[
57,
58
]
] | [
"#一昨日(a),昨日(b),今日(c)のペンキの色\na,b,c = input().split()\n#買ったペンキの数\nS = 1\n#aとbが違う色か\nif not a == b:\n S = S + 1\n#aとc、かつbとcが違う色か\nif not a == c and not b == c:\n S = S + 1\n#買ったペンキの数を出力\nprint(S)",
"a,b,c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"S = 1",
"S",
"1",
"if not a == b:\n S = S + 1\n#aとc、かつbとcが違う色か",
"not a == b",
"a == b",
"a",
"b",
"S = S + 1",
"S",
"S + 1",
"S",
"1",
"if not a == c and not b == c:\n S = S + 1\n#買ったペンキの数を出力",
"not a == c and not b == c",
"not a == c",
"a == c",
"a",
"c",
"not b == c",
"b == c",
"b",
"c",
"S = S + 1",
"S",
"S + 1",
"S",
"1",
"print(S)",
"print",
"S",
"a,b,c = input().split()",
"input().split()",
"a",
"S = S + 1",
"S + 1",
"S",
"c = input().split()",
"input().split()",
"c",
"S = S + 1",
"S + 1",
"S",
"b,c = input().split()",
"input().split()",
"b",
"S = 1",
"1",
"S"
] | #一昨日(a),昨日(b),今日(c)のペンキの色
a,b,c = input().split()
#買ったペンキの数
S = 1
#aとbが違う色か
if not a == b:
S = S + 1
#aとc、かつbとcが違う色か
if not a == c and not b == c:
S = S + 1
#買ったペンキの数を出力
print(S) |
[
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
]
] | [
"l = [ int(x) for x in input().split() ]\nprint(len(set(l)))",
"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",
"l = [ int(x) for x in input().split() ]",
"l",
"[ int(x) for x in input().split() ]",
"print(len(set(l)))",
"print",
"len(set(l))",
"len",
"set(l)",
"set",
"l",
"l = [ int(x) for x in input().split() ]",
"[ int(x) for x in input().split() ]",
"l"
] | l = [ int(x) for x in input().split() ]
print(len(set(l)))
|
[
7,
0,
13,
4,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
23,
2
],
[
24,
21
],
[
23,
24
]
] | [
"c=dict.fromkeys(list(map(str,input().split())))\nprint(len(c))",
"c=dict.fromkeys(list(map(str,input().split())))",
"c",
"dict.fromkeys(list(map(str,input().split())))",
"dict.fromkeys",
"dict",
"fromkeys",
"list(map(str,input().split()))",
"list",
"map(str,input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(c))",
"print",
"len(c)",
"len",
"c",
"c=dict.fromkeys(list(map(str,input().split())))",
"dict.fromkeys(list(map(str,input().split())))",
"c"
] | c=dict.fromkeys(list(map(str,input().split())))
print(len(c)) |
[
7,
15,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
18,
18,
13,
13,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
4,
13,
4,
13,
4,
13,
13,
10,
18,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
43,
11
],
[
55,
18
],
[
44,
25
],
[
55,
27
],
[
55,
28
],
[
46,
30
],
[
47,
41
],
[
43,
44
],
[
46,
47
],
[
55,
50
],
[
55,
53
],
[
55,
56
]
] | [
"\nimport sys\nsys.setrecursionlimit(10 ** 7)\ninput = sys.stdin.readline\n\na, b,c = map(int, input().split())\nabc = [a,b,c]\n\nprint(len(set(abc)))",
"import sys",
"sys",
"sys.setrecursionlimit(10 ** 7)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 7",
"10",
"7",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"a, b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"abc = [a,b,c]",
"abc",
"[a,b,c]",
"a",
"b",
"c",
"print(len(set(abc)))",
"print",
"len(set(abc))",
"len",
"set(abc)",
"set",
"abc",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input",
"abc = [a,b,c]",
"[a,b,c]",
"abc",
"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"
] |
import sys
sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
a, b,c = map(int, input().split())
abc = [a,b,c]
print(len(set(abc))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13
] | [
[
46,
2
],
[
46,
11
],
[
46,
12
],
[
49,
14
],
[
41,
19
],
[
47,
20
],
[
47,
22
],
[
44,
23
],
[
41,
28
],
[
47,
29
],
[
47,
31
],
[
44,
32
],
[
41,
34
],
[
44,
35
],
[
50,
38
],
[
46,
41
],
[
46,
44
],
[
46,
47
],
[
49,
50
]
] | [
"a,b,c = map(int,input().split())\nans = 3\nif a == b and b == c: ans = 1\nelif a == b or b == c or a == c: ans = 2\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 and b == c: ans = 1\nelif a == b or b == c or a == c: ans = 2",
"a == b and b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"elif a == b or b == c or a == c: ans = 2",
"a == b or b == c or a == c",
"a == b or b == c",
"a == b",
"a",
"b",
"b == c",
"b",
"c",
"a == c",
"a",
"c",
"print(ans)",
"print",
"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",
"ans = 3",
"3",
"ans"
] | a,b,c = map(int,input().split())
ans = 3
if a == b and b == c: ans = 1
elif a == b or b == c or a == c: ans = 2
print(ans) |
[
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
]
] | [
"paint = map(int,input().split())\nprint(len(set(paint)))",
"paint = map(int,input().split())",
"paint",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(paint)))",
"print",
"len(set(paint))",
"len",
"set(paint)",
"set",
"paint",
"paint = map(int,input().split())",
"map(int,input().split())",
"paint"
] | paint = map(int,input().split())
print(len(set(paint))) |
[
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
]
] | [
"abc = list(input().split())\nprint(len(set(abc)))",
"abc = list(input().split())",
"abc",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(abc)))",
"print",
"len(set(abc))",
"len",
"set(abc)",
"set",
"abc",
"abc = list(input().split())",
"list(input().split())",
"abc"
] | abc = list(input().split())
print(len(set(abc))) |
[
7,
0,
13,
4,
18,
4,
13,
13,
28,
13,
4,
13,
4,
13,
13,
0,
18,
13,
13,
4,
13,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
62,
2
],
[
10,
9
],
[
63,
14
],
[
19,
16
],
[
63,
17
],
[
9,
18
],
[
16,
21
],
[
63,
22
],
[
9,
23
],
[
63,
26
],
[
63,
31
],
[
63,
34
],
[
63,
43
],
[
63,
46
],
[
63,
50
],
[
63,
53
],
[
62,
63
]
] | [
"#入力\nlst = input().split()\n\n#整数値化\nfor i in range(len(lst)):\n lst[i] = int(lst[i])\n\n#ソート\nlst.sort()\n\n#出力\nif lst[0] == lst[2]:\n print(1)\nelif lst[0] == lst[1] or lst[1] == lst[2]:\n print(2)\nelse:\n print(3)",
"lst = input().split()",
"lst",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in range(len(lst)):\n lst[i] = int(lst[i])\n\n#ソート",
"i",
"range(len(lst))",
"range",
"len(lst)",
"len",
"lst",
"lst[i] = int(lst[i])",
"lst[i]",
"lst",
"i",
"int(lst[i])",
"int",
"lst[i]",
"lst",
"i",
"lst.sort()",
"lst.sort",
"lst",
"sort",
"if lst[0] == lst[2]:\n print(1)\nelif lst[0] == lst[1] or lst[1] == lst[2]:\n print(2)\nelse:\n print(3)",
"lst[0] == lst[2]",
"lst[0]",
"lst",
"0",
"lst[2]",
"lst",
"2",
"print(1)",
"print",
"1",
"elif lst[0] == lst[1] or lst[1] == lst[2]:\n print(2)",
"lst[0] == lst[1] or lst[1] == lst[2]",
"lst[0] == lst[1]",
"lst[0]",
"lst",
"0",
"lst[1]",
"lst",
"1",
"lst[1] == lst[2]",
"lst[1]",
"lst",
"1",
"lst[2]",
"lst",
"2",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"lst = input().split()",
"input().split()",
"lst"
] | #入力
lst = input().split()
#整数値化
for i in range(len(lst)):
lst[i] = int(lst[i])
#ソート
lst.sort()
#出力
if lst[0] == lst[2]:
print(1)
elif lst[0] == lst[1] or lst[1] == lst[2]:
print(2)
else:
print(3) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
13,
13,
14,
2,
13,
13,
4,
13,
17,
4,
13,
17,
14,
2,
13,
13,
4,
13,
17,
14,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
11
],
[
51,
12
],
[
52,
15
],
[
49,
16
],
[
49,
19
],
[
46,
20
],
[
49,
29
],
[
46,
30
],
[
52,
36
],
[
46,
37
],
[
51,
46
],
[
51,
49
],
[
51,
52
]
] | [
"a, b, c = map(int, input().split())\n\nif a == b:\n if b == c:\n print(1)\n else:\n print(2)\nelif b == c:\n print(2)\nelif a == c:\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:\n if b == c:\n print(1)\n else:\n print(2)\nelif b == c:\n print(2)\nelif a == c:\n print(2)\nelse:\n print(3)",
"a == b",
"a",
"b",
"if b == c:\n print(1)\n else:\n print(2)",
"b == c",
"b",
"c",
"print(1)",
"print",
"1",
"print(2)",
"print",
"2",
"elif b == c:\n print(2)",
"b == c",
"b",
"c",
"print(2)",
"print",
"2",
"elif a == c:\n print(2)",
"a == c",
"a",
"c",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"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"
] | a, b, c = map(int, input().split())
if a == b:
if b == c:
print(1)
else:
print(2)
elif b == c:
print(2)
elif a == c:
print(2)
else:
print(3)
|
[
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
]
] | [
"a=list(map(str,input().split()))\nprint(len(set(a)))",
"a=list(map(str,input().split()))",
"a",
"list(map(str,input().split()))",
"list",
"map(str,input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(set(a)))",
"print",
"len(set(a))",
"len",
"set(a)",
"set",
"a",
"a=list(map(str,input().split()))",
"list(map(str,input().split()))",
"a"
] | a=list(map(str,input().split()))
print(len(set(a))) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13
] | [
[
14,
2
],
[
15,
12
],
[
14,
15
]
] | [
"A=set(int(i) for i in input().split())\nprint(len(A))",
"A=set(int(i) for i in input().split())",
"A",
"set(int(i) for i in input().split())",
"set",
"int(i)",
"int",
"i",
"print(len(A))",
"print",
"len(A)",
"len",
"A",
"A=set(int(i) for i in input().split())",
"set(int(i) for i in input().split())",
"A"
] | A=set(int(i) for i in input().split())
print(len(A)) |
[
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
],
[
47,
22
],
[
53,
23
],
[
50,
31
],
[
47,
32
],
[
47,
34
],
[
53,
35
],
[
53,
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",
"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",
"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())
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,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
4,
13,
17,
14,
2,
2,
13,
13,
40,
13,
13,
4,
13,
17,
14,
2,
40,
13,
13,
2,
13,
13,
4,
13,
17,
14,
2,
40,
13,
13,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
67,
2
],
[
67,
11
],
[
67,
12
],
[
62,
16
],
[
65,
17
],
[
65,
19
],
[
68,
20
],
[
62,
27
],
[
65,
28
],
[
65,
30
],
[
68,
31
],
[
62,
38
],
[
65,
39
],
[
62,
41
],
[
68,
42
],
[
62,
49
],
[
65,
50
],
[
65,
52
],
[
68,
53
],
[
67,
62
],
[
67,
65
],
[
67,
68
]
] | [
"a,b,c = map(int,input().split())\n\nif a == b and b == c:\n print(1)\nelif a == b and b != c:\n print(2)\nelif a != b and a == c:\n print(2)\nelif a != b and b == c:\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 and b == c:\n print(1)\nelif a == b and b != c:\n print(2)\nelif a != b and a == c:\n print(2)\nelif a != b and 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 and b != c:\n print(2)",
"a == b and b != c",
"a == b",
"a",
"b",
"b != c",
"b",
"c",
"print(2)",
"print",
"2",
"elif a != b and a == c:\n print(2)",
"a != b and a == c",
"a != b",
"a",
"b",
"a == c",
"a",
"c",
"print(2)",
"print",
"2",
"elif a != b and b == c:\n print(2)",
"a != b and b == c",
"a != b",
"a",
"b",
"b == c",
"b",
"c",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"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())
if a == b and b == c:
print(1)
elif a == b and b != c:
print(2)
elif a != b and a == c:
print(2)
elif a != b and b == c:
print(2)
else:
print(3) |
[
7,
15,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
18,
18,
13,
13,
13,
0,
13,
4,
13,
17,
0,
13,
2,
2,
17,
17,
17,
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,
2,
13,
10,
4,
13,
10,
18,
13,
10,
12,
13
] | [
[
63,
11
],
[
60,
18
],
[
57,
23
],
[
33,
32
],
[
64,
41
],
[
32,
49
],
[
67,
55
],
[
57,
58
],
[
60,
61
],
[
63,
64
]
] | [
"import sys\n\nsys.setrecursionlimit(10 ** 7)\ninput = sys.stdin.readline\nf_inf = float('inf')\nmod = 10 ** 9 + 7\n\n\ndef resolve():\n ABC = list(map(int, input().split()))\n print(len(set(ABC)))\n\n\nif __name__ == '__main__':\n resolve()",
"import sys",
"sys",
"sys.setrecursionlimit(10 ** 7)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 7",
"10",
"7",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"f_inf = float('inf')",
"f_inf",
"float('inf')",
"float",
"'inf'",
"mod = 10 ** 9 + 7",
"mod",
"10 ** 9 + 7",
"10 ** 9",
"10",
"9",
"7",
"def resolve():\n ABC = list(map(int, input().split()))\n print(len(set(ABC)))",
"resolve",
"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",
"if __name__ == '__main__':\n resolve()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"resolve()",
"resolve",
"mod = 10 ** 9 + 7",
"10 ** 9 + 7",
"mod",
"f_inf = float('inf')",
"float('inf')",
"f_inf",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input",
"def resolve():\n ABC = list(map(int, input().split()))\n print(len(set(ABC)))",
"def resolve():\n ABC = list(map(int, input().split()))\n print(len(set(ABC)))",
"resolve"
] | import sys
sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7
def resolve():
ABC = list(map(int, input().split()))
print(len(set(ABC)))
if __name__ == '__main__':
resolve()
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
26,
2
],
[
29,
14
],
[
27,
19
],
[
30,
24
],
[
26,
27
],
[
29,
30
]
] | [
"n = list(map(int, input().split()))\nN = list(set(n))\nprint(len(N))",
"n = list(map(int, input().split()))",
"n",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"N = list(set(n))",
"N",
"list(set(n))",
"list",
"set(n)",
"set",
"n",
"print(len(N))",
"print",
"len(N)",
"len",
"N",
"n = list(map(int, input().split()))",
"list(map(int, input().split()))",
"n",
"N = list(set(n))",
"list(set(n))",
"N"
] | n = list(map(int, input().split()))
N = list(set(n))
print(len(N)) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
14,
40,
2,
13,
13,
4,
18,
13,
13,
13,
14,
40,
2,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13
] | [
[
51,
2
],
[
51,
13
],
[
51,
14
],
[
54,
16
],
[
49,
22
],
[
55,
23
],
[
55,
26
],
[
49,
28
],
[
52,
32
],
[
55,
33
],
[
55,
36
],
[
52,
38
],
[
55,
43
],
[
51,
46
],
[
51,
49
],
[
51,
52
],
[
54,
55
]
] | [
"a, b, c = list(map(int, input().split()))\ndata = [a]\nif not b in data:\n data.append(b)\nif not c in data:\n data.append(c)\nprint(len(data))",
"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",
"data = [a]",
"data",
"[a]",
"a",
"if not b in data:\n data.append(b)",
"not b in data",
"b in data",
"b",
"data",
"data.append(b)",
"data.append",
"data",
"append",
"b",
"if not c in data:\n data.append(c)",
"not c in data",
"c in data",
"c",
"data",
"data.append(c)",
"data.append",
"data",
"append",
"c",
"print(len(data))",
"print",
"len(data)",
"len",
"data",
"a, b, c = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a",
"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",
"data = [a]",
"[a]",
"data"
] | a, b, c = list(map(int, input().split()))
data = [a]
if not b in data:
data.append(b)
if not c in data:
data.append(c)
print(len(data)) |
[
7,
0,
13,
17,
14,
2,
13,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
40,
18,
13,
17,
18,
13,
17,
0,
13,
2,
13,
17,
14,
2,
40,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
0,
13,
2,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
2,
13,
10,
2,
13,
10,
17,
13
] | [
[
73,
2
],
[
74,
6
],
[
61,
9
],
[
64,
21
],
[
62,
26
],
[
62,
29
],
[
67,
32
],
[
65,
34
],
[
62,
40
],
[
62,
43
],
[
62,
47
],
[
62,
50
],
[
70,
53
],
[
68,
55
],
[
65,
55
],
[
71,
59
],
[
68,
59
],
[
65,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
],
[
70,
71
],
[
73,
74
]
] | [
"icase=46 \nif icase==46:\n a=list(map(int,input().split()))\n icnt=1\n if a[0]!=a[1]:\n icnt=icnt+1\n if a[0]!=a[2] and a[1]!=a[2]:\n icnt=icnt+1\n print(icnt)",
"icase=46",
"icase",
"46",
"if icase==46:\n a=list(map(int,input().split()))\n icnt=1\n if a[0]!=a[1]:\n icnt=icnt+1\n if a[0]!=a[2] and a[1]!=a[2]:\n icnt=icnt+1\n print(icnt)",
"icase==46",
"icase",
"46",
"a=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"icnt=1",
"icnt",
"1",
"if a[0]!=a[1]:\n icnt=icnt+1\n ",
"a[0]!=a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"icnt=icnt+1",
"icnt",
"icnt+1",
"icnt",
"1",
"if a[0]!=a[2] and a[1]!=a[2]:\n icnt=icnt+1\n ",
"a[0]!=a[2] and a[1]!=a[2]",
"a[0]!=a[2]",
"a[0]",
"a",
"0",
"a[2]",
"a",
"2",
"a[1]!=a[2]",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"icnt=icnt+1",
"icnt",
"icnt+1",
"icnt",
"1",
"print(icnt)",
"print",
"icnt",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"icnt=1",
"1",
"icnt",
"icnt=icnt+1",
"icnt+1",
"icnt",
"icnt=icnt+1",
"icnt+1",
"icnt",
"icase=46",
"46",
"icase"
] | icase=46
if icase==46:
a=list(map(int,input().split()))
icnt=1
if a[0]!=a[1]:
icnt=icnt+1
if a[0]!=a[2] and a[1]!=a[2]:
icnt=icnt+1
print(icnt) |
[
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
]
] | [
"paint_list = set(map(int,input().split()))\nprint(len(paint_list))",
"paint_list = set(map(int,input().split()))",
"paint_list",
"set(map(int,input().split()))",
"set",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(len(paint_list))",
"print",
"len(paint_list)",
"len",
"paint_list",
"paint_list = set(map(int,input().split()))",
"set(map(int,input().split()))",
"paint_list"
] | paint_list = set(map(int,input().split()))
print(len(paint_list)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
40,
13,
13,
0,
13,
17,
14,
2,
40,
13,
13,
40,
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
] | [
[
53,
2
],
[
53,
11
],
[
53,
12
],
[
47,
14
],
[
51,
18
],
[
45,
19
],
[
41,
21
],
[
51,
26
],
[
54,
27
],
[
45,
29
],
[
54,
30
],
[
38,
32
],
[
39,
36
],
[
42,
36
],
[
48,
36
],
[
38,
39
],
[
41,
42
],
[
53,
45
],
[
47,
48
],
[
53,
51
],
[
53,
54
]
] | [
"x, y, z = map(int, input().split())\ncount = 1\nif x != y:\n count += 1\nif x != z and y != z:\n count += 1\nprint(count)",
"x, y, z = map(int, input().split())",
"x",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"y",
"z",
"count = 1",
"count",
"1",
"if x != y:\n count += 1",
"x != y",
"x",
"y",
"count += 1",
"count",
"1",
"if x != z and y != z:\n count += 1",
"x != z and y != z",
"x != z",
"x",
"z",
"y != z",
"y",
"z",
"count += 1",
"count",
"1",
"print(count)",
"print",
"count",
"count += 1",
"1",
"count",
"count += 1",
"1",
"count",
"y, z = map(int, input().split())",
"map(int, input().split())",
"y",
"count = 1",
"1",
"count",
"x, y, z = map(int, input().split())",
"map(int, input().split())",
"x",
"z = map(int, input().split())",
"map(int, input().split())",
"z"
] | x, y, z = map(int, input().split())
count = 1
if x != y:
count += 1
if x != z and y != z:
count += 1
print(count)
|
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
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,
10,
4,
13
] | [
[
57,
2
],
[
63,
9
],
[
58,
13
],
[
66,
16
],
[
58,
20
],
[
60,
23
],
[
58,
27
],
[
64,
32
],
[
67,
33
],
[
61,
34
],
[
64,
42
],
[
67,
43
],
[
67,
45
],
[
61,
46
],
[
61,
48
],
[
64,
49
],
[
57,
58
],
[
60,
61
],
[
63,
64
],
[
66,
67
]
] | [
"paints = input().split()\n\na = int(paints[0])\nb = int(paints[1])\nc = int(paints[2])\n\nif a == b == c:\n print(1)\nelif a==b or b==c or c==a:\n print(2)\nelse:\n print(3)\n",
"paints = input().split()",
"paints",
"input().split()",
"().split",
"()",
"input",
"split",
"a = int(paints[0])",
"a",
"int(paints[0])",
"int",
"paints[0]",
"paints",
"0",
"b = int(paints[1])",
"b",
"int(paints[1])",
"int",
"paints[1]",
"paints",
"1",
"c = int(paints[2])",
"c",
"int(paints[2])",
"int",
"paints[2]",
"paints",
"2",
"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",
"paints = input().split()",
"input().split()",
"paints",
"c = int(paints[2])",
"int(paints[2])",
"c",
"a = int(paints[0])",
"int(paints[0])",
"a",
"b = int(paints[1])",
"int(paints[1])",
"b"
] | paints = input().split()
a = int(paints[0])
b = int(paints[1])
c = int(paints[2])
if a == b == c:
print(1)
elif a==b or b==c or c==a:
print(2)
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
],
[
20,
17
],
[
19,
20
],
[
22,
23
]
] | [
"\ns = input().split()\ns = set(s)\n\nprint(len(s))",
"s = input().split()",
"s",
"input().split()",
"().split",
"()",
"input",
"split",
"s = set(s)",
"s",
"set(s)",
"set",
"s",
"print(len(s))",
"print",
"len(s)",
"len",
"s",
"s = input().split()",
"input().split()",
"s",
"s = set(s)",
"set(s)",
"s"
] |
s = input().split()
s = set(s)
print(len(s)) |
[
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\nlist = list(input().split())\nl=collections.Counter(list)\nprint(len(l))",
"import collections",
"collections",
"list = list(input().split())",
"list",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"l=collections.Counter(list)",
"l",
"collections.Counter(list)",
"collections.Counter",
"collections",
"Counter",
"list",
"print(len(l))",
"print",
"len(l)",
"len",
"l",
"l=collections.Counter(list)",
"collections.Counter(list)",
"l",
"list = list(input().split())",
"list(input().split())",
"list"
] | import collections
list = list(input().split())
l=collections.Counter(list)
print(len(l)) |
[
7,
12,
13,
4,
13,
4,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
27,
24
]
] | [
"def main():\n print(len(set(list(map(int, input().split())))))\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n print(len(set(list(map(int, input().split())))))",
"main",
"print(len(set(list(map(int, input().split())))))",
"print",
"len(set(list(map(int, input().split()))))",
"len",
"set(list(map(int, input().split())))",
"set",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def main():\n print(len(set(list(map(int, input().split())))))",
"def main():\n print(len(set(list(map(int, input().split())))))",
"main"
] | def main():
print(len(set(list(map(int, input().split())))))
if __name__ == "__main__":
main()
|
[
7,
15,
13,
15,
13,
15,
15,
13,
12,
13,
29,
4,
13,
4,
13,
12,
13,
29,
4,
13,
13,
4,
18,
4,
13,
13,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
12,
13,
29,
4,
18,
4,
18,
18,
13,
13,
13,
13,
12,
13,
0,
13,
4,
18,
13,
13,
13,
13,
14,
2,
40,
13,
4,
13,
13,
2,
18,
13,
13,
13,
29,
13,
29,
17,
23,
13,
23,
13,
0,
13,
4,
13,
13,
13,
4,
13,
4,
13,
17,
10,
12,
13,
10,
4,
13,
10,
12,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13
] | [
[
55,
54
],
[
78,
59
],
[
80,
60
],
[
54,
64
],
[
78,
67
],
[
78,
70
],
[
54,
71
],
[
80,
72
],
[
54,
74
],
[
78,
78
],
[
80,
80
],
[
114,
82
],
[
109,
84
],
[
114,
85
],
[
114,
86
],
[
114,
97
],
[
114,
103
],
[
114,
115
]
] | [
"import sys\nimport math\nfrom functools import reduce\nimport bisect\n\n\ndef getN():\n return int(input())\n\n\ndef getNM():\n return map(int, input().split())\n\n\ndef getList():\n return list(map(int, input().split()))\n\n\ndef input():\n return sys.stdin.readline().rstrip()\n\n\n# input = sys.stdin.buffer.readline\n\ndef index(a, x):\n i = bisect.bisect_left(a, x)\n if i != len(a) and a[i] == x:\n return i\n return False\n\n\n#############\n# MAIN CODE #\n#############\n\na, b, c = getNM()\nprint(len({a, b, c}))",
"import sys",
"sys",
"import math",
"math",
"from functools import reduce",
"import bisect",
"bisect",
"def getN():\n return int(input())",
"getN",
"return int(input())",
"int(input())",
"int",
"input()",
"input",
"def getNM():\n return map(int, input().split())",
"getNM",
"return map(int, input().split())",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"def getList():\n return list(map(int, input().split()))",
"getList",
"return list(map(int, input().split()))",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"def input():\n return sys.stdin.readline().rstrip()\n\n\n# input = sys.stdin.buffer.readline",
"input",
"return 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 index(a, x):\n i = bisect.bisect_left(a, x)\n if i != len(a) and a[i] == x:\n return i\n return False\n\n\n#############\n# MAIN CODE #\n#############",
"index",
"i = bisect.bisect_left(a, x)",
"i",
"bisect.bisect_left(a, x)",
"bisect.bisect_left",
"bisect",
"bisect_left",
"a",
"x",
"if i != len(a) and a[i] == x:\n return i\n ",
"i != len(a) and a[i] == x",
"i != len(a)",
"i",
"len(a)",
"len",
"a",
"a[i] == x",
"a[i]",
"a",
"i",
"x",
"return i",
"i",
"return False",
"False",
"a",
"a",
"x",
"x",
"a, b, c = getNM()",
"a",
"getNM()",
"getNM",
"b",
"c",
"print(len({a, b, c}))",
"print",
"len({a, b, c})",
"len",
"{a, b, c}",
"def index(a, x):\n i = bisect.bisect_left(a, x)\n if i != len(a) and a[i] == x:\n return i\n return False\n\n\n#############\n# MAIN CODE #\n#############",
"def index(a, x):\n i = bisect.bisect_left(a, x)\n if i != len(a) and a[i] == x:\n return i\n return False\n\n\n#############\n# MAIN CODE #\n#############",
"index",
"a, b, c = getNM()",
"getNM()",
"a",
"def getList():\n return list(map(int, input().split()))",
"def getList():\n return list(map(int, input().split()))",
"getList",
"b, c = getNM()",
"getNM()",
"b",
"def input():\n return sys.stdin.readline().rstrip()\n\n\n# input = sys.stdin.buffer.readline",
"def input():\n return sys.stdin.readline().rstrip()\n\n\n# input = sys.stdin.buffer.readline",
"input",
"def getNM():\n return map(int, input().split())",
"def getNM():\n return map(int, input().split())",
"getNM",
"def getN():\n return int(input())",
"def getN():\n return int(input())",
"getN",
"c = getNM()",
"getNM()",
"c"
] | import sys
import math
from functools import reduce
import bisect
def getN():
return int(input())
def getNM():
return map(int, input().split())
def getList():
return list(map(int, input().split()))
def input():
return sys.stdin.readline().rstrip()
# input = sys.stdin.buffer.readline
def index(a, x):
i = bisect.bisect_left(a, x)
if i != len(a) and a[i] == x:
return i
return False
#############
# MAIN CODE #
#############
a, b, c = getNM()
print(len({a, b, c}))
|
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
14,
2,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
18,
13
] | [
[
75,
4
],
[
72,
11
],
[
76,
20
],
[
73,
26
],
[
73,
29
],
[
73,
33
],
[
73,
36
],
[
73,
46
],
[
73,
49
],
[
73,
53
],
[
73,
56
],
[
73,
60
],
[
73,
63
],
[
72,
73
],
[
75,
76
]
] | [
"import sys\ninput = sys.stdin.readline\n\ninputs = list(map(int, input().split()))\n\nif inputs[0] == inputs[1] and inputs[1] == inputs[2]:\n print(1)\nelif inputs[0] == inputs[1] or inputs[1] == inputs[2] or inputs[0] == inputs[2]:\n print(2)\nelse:\n print(3)\n",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"inputs = list(map(int, input().split()))",
"inputs",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if inputs[0] == inputs[1] and inputs[1] == inputs[2]:\n print(1)\nelif inputs[0] == inputs[1] or inputs[1] == inputs[2] or inputs[0] == inputs[2]:\n print(2)\nelse:\n print(3)",
"inputs[0] == inputs[1] and inputs[1] == inputs[2]",
"inputs[0] == inputs[1]",
"inputs[0]",
"inputs",
"0",
"inputs[1]",
"inputs",
"1",
"inputs[1] == inputs[2]",
"inputs[1]",
"inputs",
"1",
"inputs[2]",
"inputs",
"2",
"print(1)",
"print",
"1",
"elif inputs[0] == inputs[1] or inputs[1] == inputs[2] or inputs[0] == inputs[2]:\n print(2)",
"inputs[0] == inputs[1] or inputs[1] == inputs[2] or inputs[0] == inputs[2]",
"inputs[0] == inputs[1] or inputs[1] == inputs[2]",
"inputs[0] == inputs[1]",
"inputs[0]",
"inputs",
"0",
"inputs[1]",
"inputs",
"1",
"inputs[1] == inputs[2]",
"inputs[1]",
"inputs",
"1",
"inputs[2]",
"inputs",
"2",
"inputs[0] == inputs[2]",
"inputs[0]",
"inputs",
"0",
"inputs[2]",
"inputs",
"2",
"print(2)",
"print",
"2",
"print(3)",
"print",
"3",
"inputs = list(map(int, input().split()))",
"list(map(int, input().split()))",
"inputs",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input"
] | import sys
input = sys.stdin.readline
inputs = list(map(int, input().split()))
if inputs[0] == inputs[1] and inputs[1] == inputs[2]:
print(1)
elif inputs[0] == inputs[1] or inputs[1] == inputs[2] or inputs[0] == inputs[2]:
print(2)
else:
print(3)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.