Page 1
Student ID: 495, P-Value: 0.00e+00
Nearest Neighbor ID: 273
Student (left) and Nearest Neighbor (right).
t | x0 = int(input()) | t | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)userInput = input() | | print(lst)userInput = input() |
| while(userInput != "Done" and userInput != "done" and userInput != "d"): | | while(userInput != "Done" and userInput != "done" and userInput != "d"): |
| for i in range(len(userInput) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(userInput[i], end="") | | print(userInput[i], end="") |
| print() | | print() |
| userInput = input()n = int(input()) | | userInput = input()n = int(input()) |
| val = [] | | val = [] |
| for i in range(n): | | for i in range(n): |
| val.append(float(input())) | | val.append(float(input())) |
| for i in range(n): | | for i in range(n): |
| your_value = val[i]/max(val) | | your_value = val[i]/max(val) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 2
Student ID: 273, P-Value: 0.00e+00
Nearest Neighbor ID: 495
Student (left) and Nearest Neighbor (right).
t | x0 = int(input()) | t | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)userInput = input() | | print(lst)userInput = input() |
| while(userInput != "Done" and userInput != "done" and userInput != "d"): | | while(userInput != "Done" and userInput != "done" and userInput != "d"): |
| for i in range(len(userInput) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(userInput[i], end="") | | print(userInput[i], end="") |
| print() | | print() |
| userInput = input()n = int(input()) | | userInput = input()n = int(input()) |
| val = [] | | val = [] |
| for i in range(n): | | for i in range(n): |
| val.append(float(input())) | | val.append(float(input())) |
| for i in range(n): | | for i in range(n): |
| your_value = val[i]/max(val) | | your_value = val[i]/max(val) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 3
Student ID: 56, P-Value: 2.22e-16
Nearest Neighbor ID: 67
Student (left) and Nearest Neighbor (right).
n | x0=int(input()) | n | x0=int(input()) |
| x1=int(input()) | | x1=int(input()) |
| N = int(input()) | | N = int(input()) |
| c=0 | | c=0 |
| list_w=[] | | list_w=[] |
| while c<N: | | while c<N: |
| list_w.append(x0) | | list_w.append(x0) |
| term=x0+x1 | | term=x0+x1 |
| x0=x1 | | x0=x1 |
| x1=term | | x1=term |
| c+=1 | | c+=1 |
| print(list_w) | | print(list_w) |
n | string1 = [] | n | string1 = [] |
| while True: | | while True: |
| string2 = input() | | string2 = input() |
| if string2 == "Done": | | if string2 == "Done": |
| break | | break |
| elif string2 == 'done': | | elif string2 == 'done': |
| break | | break |
| elif string2 == 'd': | | elif string2 == 'd': |
| break | | break |
| string2 = string2[::-1] | | string2 = string2[::-1] |
| string1.append(string2) | | string1.append(string2) |
| for reverse in string1: | | for reverse in string1: |
| print(reverse) | | print(reverse) |
t | nums=[] | t | nums=[] |
| in_num=int(input()) | | in_num=int(input()) |
| for i in range(in_num): | | for i in range(in_num): |
| new_val=float(input()) | | new_val=float(input()) |
| nums.append(new_val) | | nums.append(new_val) |
| maxium=max(nums) | | maxium=max(nums) |
| for i in range(in_num): | | for i in range(in_num): |
| print(f'{(nums[i]/maxium):.2f}') | | print(f'{(nums[i]/maxium):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 4
Student ID: 67, P-Value: 2.22e-16
Nearest Neighbor ID: 56
Student (left) and Nearest Neighbor (right).
n | x0=int(input()) | n | x0=int(input()) |
| x1=int(input()) | | x1=int(input()) |
| N = int(input()) | | N = int(input()) |
| c=0 | | c=0 |
| list_w=[] | | list_w=[] |
| while c<N: | | while c<N: |
| list_w.append(x0) | | list_w.append(x0) |
| term=x0+x1 | | term=x0+x1 |
| x0=x1 | | x0=x1 |
| x1=term | | x1=term |
| c+=1 | | c+=1 |
| print(list_w) | | print(list_w) |
n | string1 = [] | n | string1 = [] |
| while True: | | while True: |
| string2 = input() | | string2 = input() |
| if string2 == "Done": | | if string2 == "Done": |
| break | | break |
| elif string2 == 'done': | | elif string2 == 'done': |
| break | | break |
| elif string2 == 'd': | | elif string2 == 'd': |
| break | | break |
| string2 = string2[::-1] | | string2 = string2[::-1] |
| string1.append(string2) | | string1.append(string2) |
| for reverse in string1: | | for reverse in string1: |
| print(reverse) | | print(reverse) |
t | nums=[] | t | nums=[] |
| in_num=int(input()) | | in_num=int(input()) |
| for i in range(in_num): | | for i in range(in_num): |
| new_val=float(input()) | | new_val=float(input()) |
| nums.append(new_val) | | nums.append(new_val) |
| maxium=max(nums) | | maxium=max(nums) |
| for i in range(in_num): | | for i in range(in_num): |
| print(f'{(nums[i]/maxium):.2f}') | | print(f'{(nums[i]/maxium):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 5
Student ID: 318, P-Value: 3.24e-14
Nearest Neighbor ID: 273
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)userInput = input() | | print(lst)userInput = input() |
n | while(userInput != "Done" and userInput != "done" and userInput!= "d"): | n | while(userInput != "Done" and userInput != "done" and userInput != "d"): |
| for i in range(len(userInput) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(userInput[i], end="") | | print(userInput[i], end="") |
| print() | | print() |
| userInput = input()n = int(input()) | | userInput = input()n = int(input()) |
| val = [] | | val = [] |
| for i in range(n): | | for i in range(n): |
| val.append(float(input())) | | val.append(float(input())) |
| for i in range(n): | | for i in range(n): |
t | your_value = val[i]/max(val) | t | your_value = val[i]/max(val) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 6
Student ID: 193, P-Value: 4.58e-10
Nearest Neighbor ID: 386
Student (left) and Nearest Neighbor (right).
n | | n | xsubzero = int(input()) |
| x0 = int(input()) | | xsubone = int(input()) |
| x1 = int(input()) | | |
| N = int(input()) | | N = int(input()) |
n | list = [x0, x1] | n | list = [xsubzero, xsubone] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
n | x = x0 + x1 | n | x = xsubzero + xsubone |
| list.append(x) | | list.append(x) |
n | x0 = x1 | n | xsubzero = xsubone |
| x1 = x | | xsubone = x |
| print(list)while True: | | print(list)while True: |
| string = input() | | string = input() |
| if (string == 'Done' or string == 'done' or string == 'd'): | | if (string == 'Done' or string == 'done' or string == 'd'): |
| break | | break |
| for i in range(len(string)-1, -1, -1): | | for i in range(len(string)-1, -1, -1): |
| print(string[i], end='') | | print(string[i], end='') |
t | print() | t | print()n = int(input()) |
| n = int(input()) | | |
| value = [] | | value = [] |
| for i in range(n): | | for i in range(n): |
| value.append(float(input())) | | value.append(float(input())) |
| for i in range(n): | | for i in range(n): |
| your_value = value[i]/max(value) | | your_value = value[i]/max(value) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 7
Student ID: 386, P-Value: 4.58e-10
Nearest Neighbor ID: 193
Student (left) and Nearest Neighbor (right).
n | xsubzero = int(input()) | n | |
| xsubone = int(input()) | | x0 = int(input()) |
| | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | list = [xsubzero, xsubone] | n | list = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
n | x = xsubzero + xsubone | n | x = x0 + x1 |
| list.append(x) | | list.append(x) |
n | xsubzero = xsubone | n | x0 = x1 |
| xsubone = x | | x1 = x |
| print(list)while True: | | print(list)while True: |
| string = input() | | string = input() |
| if (string == 'Done' or string == 'done' or string == 'd'): | | if (string == 'Done' or string == 'done' or string == 'd'): |
| break | | break |
| for i in range(len(string)-1, -1, -1): | | for i in range(len(string)-1, -1, -1): |
| print(string[i], end='') | | print(string[i], end='') |
t | print()n = int(input()) | t | print() |
| | | n = int(input()) |
| value = [] | | value = [] |
| for i in range(n): | | for i in range(n): |
| value.append(float(input())) | | value.append(float(input())) |
| for i in range(n): | | for i in range(n): |
| your_value = value[i]/max(value) | | your_value = value[i]/max(value) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 8
Student ID: 490, P-Value: 2.29e-09
Nearest Neighbor ID: 273
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(lst) | n | print(lst)userInput = input() |
| user_input = input() | | |
| while(user_input != "Done" and user_input != "done" and user_input != "d"): | | while(userInput != "Done" and userInput != "done" and userInput != "d"): |
| for i in range(len(user_input) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(user_input[i], end="") | | print(userInput[i], end="") |
| print() | | print() |
t | user_input = input() | t | userInput = input()n = int(input()) |
| n = int(input()) | | |
| val = [] | | val = [] |
| for i in range(n): | | for i in range(n): |
| val.append(float(input())) | | val.append(float(input())) |
| for i in range(n): | | for i in range(n): |
| your_value = val[i]/max(val) | | your_value = val[i]/max(val) |
| print('{:.2f}'.format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 9
Student ID: 316, P-Value: 2.70e-08
Nearest Neighbor ID: 273
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)userInput = input() | | print(lst)userInput = input() |
n | while(userInput != 'Done' and userInput != 'done' and userInput != 'd'): | n | while(userInput != "Done" and userInput != "done" and userInput != "d"): |
| for i in range(len(userInput) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
n | print(userInput[i], end='') | n | print(userInput[i], end="") |
| print() | | print() |
t | userInput = input() | t | userInput = input()n = int(input()) |
| n = int(input()) | | |
| value = [] | | val = [] |
| for i in range (n): | | for i in range(n): |
| value.append(float(input())) | | val.append(float(input())) |
| for i in range (n): | | for i in range(n): |
| your_value = value[i]/max(value) | | your_value = val[i]/max(val) |
| print("{:.2f}".format(your_value)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 10
Student ID: 384, P-Value: 1.55e-06
Nearest Neighbor ID: 325
Student (left) and Nearest Neighbor (right).
n | x0= int(input()) | n | x0 = int(input()) |
| x1=int(input()) | | x1 = int(input()) |
| N=int(input()) | | N = int(input()) |
| w=0 | | w = 0 |
| list1=[] | | list_1 = [] |
| while w < N: | | while w < N: |
n | list1.append(x0) | n | list_1.append(x0) |
| term = x0 + x1 | | term = x0 + x1 |
n | x0=x1 | n | x0 = x1 |
| x1=term | | x1 = term |
| w+=1 | | w += 1 |
| print(list1) | | print(list_1)str1 = [] |
| str1 = [] | | |
| while True: | | while True: |
n | str2= input() | n | str2 = input() |
| if str2 == "done": | | if str2 == "Done": |
| break | | break |
n | elif str2 =="Done": | n | elif str2 == 'done': |
| break | | break |
t | elif str2 =="d": | t | elif str2 == 'd': |
| break | | break |
| str2 = str2[::-1] | | str2 = str2[::-1] |
| str1.append(str2) | | str1.append(str2) |
| for reverse in str1: | | for reverse in str1: |
| print(reverse)nums=[] | | print(reverse)nums=[] |
| num_nums=int(input()) | | num_nums=int(input()) |
| for i in range(num_nums): | | for i in range(num_nums): |
| val=float(input()) | | val=float(input()) |
| nums.append(val) | | nums.append(val) |
| max=max(nums) | | max=max(nums) |
| for i in range(num_nums): | | for i in range(num_nums): |
| print(f'{(nums[i]/max):.2f}') | | print(f'{(nums[i]/max):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 11
Student ID: 325, P-Value: 1.55e-06
Nearest Neighbor ID: 384
Student (left) and Nearest Neighbor (right).
n | x0 = int(input()) | n | x0= int(input()) |
| x1 = int(input()) | | x1=int(input()) |
| N = int(input()) | | N=int(input()) |
| w = 0 | | w=0 |
| list_1 = [] | | list1=[] |
| while w < N: | | while w < N: |
n | list_1.append(x0) | n | list1.append(x0) |
| term = x0 + x1 | | term = x0 + x1 |
n | x0 = x1 | n | x0=x1 |
| x1 = term | | x1=term |
| w += 1 | | w+=1 |
| print(list_1)str1 = [] | | print(list1) |
| | | str1 = [] |
| while True: | | while True: |
n | str2 = input() | n | str2= input() |
| if str2 == "Done": | | if str2 == "done": |
| break | | break |
n | elif str2 == 'done': | n | elif str2 =="Done": |
| break | | break |
t | elif str2 == 'd': | t | elif str2 =="d": |
| break | | break |
| str2 = str2[::-1] | | str2 = str2[::-1] |
| str1.append(str2) | | str1.append(str2) |
| for reverse in str1: | | for reverse in str1: |
| print(reverse)nums=[] | | print(reverse)nums=[] |
| num_nums=int(input()) | | num_nums=int(input()) |
| for i in range(num_nums): | | for i in range(num_nums): |
| val=float(input()) | | val=float(input()) |
| nums.append(val) | | nums.append(val) |
| max=max(nums) | | max=max(nums) |
| for i in range(num_nums): | | for i in range(num_nums): |
| print(f'{(nums[i]/max):.2f}') | | print(f'{(nums[i]/max):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 12
Student ID: 478, P-Value: 2.16e-06
Nearest Neighbor ID: 333
Student (left) and Nearest Neighbor (right).
n | x0 = int(input()) | n | x0=int(input()) |
| x1 = int(input()) | | x1=int(input()) |
| N = int(input()) | | N=int(input()) |
| list = [x0,x1] | | lt=[x0,x1] |
| for i in range(0, N-2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | list.append((x2)) | n | lt.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(list)while True: | n | print(lt) |
| | | while True: |
| a = input() | | a=input() |
| if(a=='d' or a == 'done' or a == 'Done'): | | if(a=='d'or a=='done' or a=='Done'): |
| break | | break |
| else: | | else: |
t | print(a[:: -1]) | t | print(a[::-1]) |
| n = int(input()) | | n = int(input()) |
| data = [] | | data = [] |
| largest = None | | largest = None |
| for i in range(n): | | for i in range(n): |
| num = float(input()) | | num = float(input()) |
| data.append(num) | | data.append(num) |
| if largest == None or num > largest: | | if largest == None or num > largest: |
| largest = num | | largest = num |
| for i in range(n): | | for i in range(n): |
| data[i] = data[i] / largest | | data[i] = data[i] / largest |
| print('{:.2f}'.format(data[i])) | | print('{:.2f}'.format(data[i])) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 13
Student ID: 333, P-Value: 2.16e-06
Nearest Neighbor ID: 478
Student (left) and Nearest Neighbor (right).
n | x0=int(input()) | n | x0 = int(input()) |
| x1=int(input()) | | x1 = int(input()) |
| N=int(input()) | | N = int(input()) |
| lt=[x0,x1] | | list = [x0,x1] |
| for i in range(0, N - 2): | | for i in range(0, N-2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | lt.append((x2)) | n | list.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(lt) | n | print(list)while True: |
| while True: | | |
| a=input() | | a = input() |
| if(a=='d'or a=='done' or a=='Done'): | | if(a=='d' or a == 'done' or a == 'Done'): |
| break | | break |
| else: | | else: |
t | print(a[::-1]) | t | print(a[:: -1]) |
| n = int(input()) | | n = int(input()) |
| data = [] | | data = [] |
| largest = None | | largest = None |
| for i in range(n): | | for i in range(n): |
| num = float(input()) | | num = float(input()) |
| data.append(num) | | data.append(num) |
| if largest == None or num > largest: | | if largest == None or num > largest: |
| largest = num | | largest = num |
| for i in range(n): | | for i in range(n): |
| data[i] = data[i] / largest | | data[i] = data[i] / largest |
| print('{:.2f}'.format(data[i])) | | print('{:.2f}'.format(data[i])) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 14
Student ID: 215, P-Value: 2.31e-06
Nearest Neighbor ID: 333
Student (left) and Nearest Neighbor (right).
f | x0=int(input()) | f | x0=int(input()) |
| x1=int(input()) | | x1=int(input()) |
| N=int(input()) | | N=int(input()) |
n | lst=[x0,x1] | n | lt=[x0,x1] |
| for i in range(0,N-2): | | for i in range(0, N - 2): |
| x2=x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lt.append((x2)) |
| x0=x1 | | x0 = x1 |
| x1=x2 | | x1 = x2 |
| print(lst)while True: | | print(lt) |
| | | while True: |
| a = input() | | a=input() |
| if(a=='d' or a=='done' or a=='Done'): | | if(a=='d'or a=='done' or a=='Done'): |
| break | | break |
| else: | | else: |
n | print(a[::-1])n = int(input()) | n | print(a[::-1]) |
| | | n = int(input()) |
| data = [] | | data = [] |
| largest = None | | largest = None |
| for i in range(n): | | for i in range(n): |
| num = float(input()) | | num = float(input()) |
| data.append(num) | | data.append(num) |
n | if largest == None or num> largest: | n | if largest == None or num > largest: |
| largest = num | | largest = num |
| for i in range(n): | | for i in range(n): |
t | data[i]= data[i]/largest | t | data[i] = data[i] / largest |
| print('{:.2f}'.format(data[i])) | | print('{:.2f}'.format(data[i])) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 15
Student ID: 217, P-Value: 2.88e-05
Nearest Neighbor ID: 258
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | first = [x0, x1] | n | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | first.append((x2)) | n | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(first)while True: | n | print(lst)while True: |
| user=input() | | a=input() |
| if (user=='d' or user=='done' or user=='Done'): | | if(a=='d' or a=='done' or a=='Done'): |
| break | | break |
| else: | | else: |
t | print(user[::-1])num = int(input()) | t | print(a[::-1])n = int(input()) |
| value = [] | | val = [] |
| for i in range(num): | | for i in range(n): |
| value.append(float(input())) | | val.append(float(input())) |
| for i in range(num): | | for i in range(n): |
| your_value = value[i]/max(value) | | your_value = val[i]/max(val) |
| print('{:.2f}'.format(your_value)) | | print(f'{your_value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 16
Student ID: 258, P-Value: 2.88e-05
Nearest Neighbor ID: 217
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | lst = [x0, x1] | n | first = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | lst.append((x2)) | n | first.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(lst)while True: | n | print(first)while True: |
| a=input() | | user=input() |
| if(a=='d' or a=='done' or a=='Done'): | | if (user=='d' or user=='done' or user=='Done'): |
| break | | break |
| else: | | else: |
t | print(a[::-1])n = int(input()) | t | print(user[::-1])num = int(input()) |
| val = [] | | value = [] |
| for i in range(n): | | for i in range(num): |
| val.append(float(input())) | | value.append(float(input())) |
| for i in range(n): | | for i in range(num): |
| your_value = val[i]/max(val) | | your_value = value[i]/max(value) |
| print(f'{your_value:.2f}') | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 17
Student ID: 79, P-Value: 1.61e-04
Nearest Neighbor ID: 478
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | lst = [x0, x1] | n | list = [x0,x1] |
| for i in range(0, N - 2): | | for i in range(0, N-2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | lst.append((x2)) | n | list.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(lst)while True: | n | print(list)while True: |
| string = str(input()) | | a = input() |
| if string == "Done" or string == "done" or string == "d": | | if(a=='d' or a == 'done' or a == 'Done'): |
| break | | break |
| else: | | else: |
t | print(string[::-1]) | t | print(a[:: -1]) |
| n = int(input()) | | n = int(input()) |
| data = [] | | data = [] |
| largest = None | | largest = None |
| for i in range(n): | | for i in range(n): |
| num = float(input()) | | num = float(input()) |
| data.append(num) | | data.append(num) |
| if largest == None or num > largest: | | if largest == None or num > largest: |
| largest = num | | largest = num |
| for i in range(n): | | for i in range(n): |
| data[i] = data[i] / largest | | data[i] = data[i] / largest |
| print('{:.2f}'.format(data[i])) | | print('{:.2f}'.format(data[i])) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 18
Student ID: 364, P-Value: 4.30e-04
Nearest Neighbor ID: 125
Student (left) and Nearest Neighbor (right).
n | x0 = int(input()) | n | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N-2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
n | x0 = x1 | n | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print (lst)while True: | | print(lst)while True: |
| a = input() | | a = input() |
| if(a == "d" or a == "done" or a == "Done"): | | if(a=="d"or a =="done" or a=="Done"): |
| break | | break |
| else: | | else: |
| print(a[: :-1])size = int(input()) | | print(a[::-1]) |
| | | size = int(input()) |
| inputList = [] | | inputList = [] |
n | for i in range(size): | n | for i in range(size): |
| inputList.append (float(input())) | | inputList.append(float(input())) |
| maxValue = None | | maxValue = None |
| for x in inputList: | | for x in inputList: |
| if maxValue == None or maxValue<x: | | if maxValue==None or maxValue<x: |
| maxValue = x | | maxValue = x |
t | for x in inputList: | t | for x in inputList: |
| print ("%.2f"%(x/maxValue)) | | print("%.2f"%(x/maxValue)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 19
Student ID: 125, P-Value: 4.30e-04
Nearest Neighbor ID: 364
Student (left) and Nearest Neighbor (right).
n | x0 = int(input()) | n | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N-2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
n | x0 = x1 | n | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)while True: | | print (lst)while True: |
| a = input() | | a = input() |
| if(a=="d"or a =="done" or a=="Done"): | | if(a == "d" or a == "done" or a == "Done"): |
| break | | break |
| else: | | else: |
| print(a[::-1]) | | print(a[: :-1])size = int(input()) |
| size = int(input()) | | |
| inputList = [] | | inputList = [] |
n | for i in range(size): | n | for i in range(size): |
| inputList.append(float(input())) | | inputList.append (float(input())) |
| maxValue = None | | maxValue = None |
| for x in inputList: | | for x in inputList: |
| if maxValue==None or maxValue<x: | | if maxValue == None or maxValue<x: |
| maxValue = x | | maxValue = x |
t | for x in inputList: | t | for x in inputList: |
| print("%.2f"%(x/maxValue)) | | print ("%.2f"%(x/maxValue)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 20
Student ID: 353, P-Value: 1.01e-03
Nearest Neighbor ID: 203
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | listvals = [x0,x1] | n | ist = [x0,x1] |
| for i in range(0, N-2): | | i = 2 |
| | | while i < N: |
| x2 = x0 + x1 | | nth = x0 + x1 |
| listvals.append((x2)) | | ist.append(nth) |
| x0 = x1 | | x0 = x1 |
n | x1 = x2 | n | x1 = nth |
| print(listvals) | | i += 1 |
| text = input() | | print(ist)text = input() |
| while(text != 'Done' and text != 'done' and text != 'd'): | | while(text != 'Done' and text != 'done' and text != 'd'): |
| for i in range(len(text) - 1, -1, -1): | | for i in range(len(text) - 1, -1, -1): |
| print(text[i], end='') | | print(text[i], end='') |
| print() | | print() |
n | text = input()my_value = int(input()) | n | text = input() |
| | | values = int(input()) |
| listvalue = [] | | list_values = [] |
| for i in range(my_value): | | for i in range(values): |
| my_input = float(input()) | | my_input = float(input()) |
t | listvalue.append(my_input) | t | list_values.append(my_input) |
| maxvalue = max(listvalue) | | max_value = max(list_values) |
| for x in range (my_value): | | for x in range (values): |
| print(f'{listvalue[x]/maxvalue:.2f}') | | print(f'{list_values[x]/max_value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 21
Student ID: 203, P-Value: 1.01e-03
Nearest Neighbor ID: 353
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | ist = [x0,x1] | n | listvals = [x0,x1] |
| i = 2 | | for i in range(0, N-2): |
| while i < N: | | |
| nth = x0 + x1 | | x2 = x0 + x1 |
| ist.append(nth) | | listvals.append((x2)) |
| x0 = x1 | | x0 = x1 |
n | x1 = nth | n | x1 = x2 |
| i += 1 | | print(listvals) |
| print(ist)text = input() | | text = input() |
| while(text != 'Done' and text != 'done' and text != 'd'): | | while(text != 'Done' and text != 'done' and text != 'd'): |
| for i in range(len(text) - 1, -1, -1): | | for i in range(len(text) - 1, -1, -1): |
| print(text[i], end='') | | print(text[i], end='') |
| print() | | print() |
n | text = input() | n | text = input()my_value = int(input()) |
| values = int(input()) | | |
| list_values = [] | | listvalue = [] |
| for i in range(values): | | for i in range(my_value): |
| my_input = float(input()) | | my_input = float(input()) |
t | list_values.append(my_input) | t | listvalue.append(my_input) |
| max_value = max(list_values) | | maxvalue = max(listvalue) |
| for x in range (values): | | for x in range (my_value): |
| print(f'{list_values[x]/max_value:.2f}') | | print(f'{listvalue[x]/maxvalue:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 22
Student ID: 242, P-Value: 1.96e-03
Nearest Neighbor ID: 316
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | lst = [x0,x1] | n | lst = [x0, x1] |
| for i in range (0,N-2): | | for i in range(0, N - 2): |
| x2 = x0 +x1 | | x2 = x0 + x1 |
| lst.append((x2)) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(lst)userinput = input() | n | print(lst)userInput = input() |
| while(userinput!='d' and userinput!='Done' and userinput!='done'): | | while(userInput != 'Done' and userInput != 'done' and userInput != 'd'): |
| for i in range(len(userinput) - 1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(userinput[i], end="") | | print(userInput[i], end='') |
| print() | | print() |
t | userinput = input() | t | userInput = input() |
| N = int(input()) | | n = int(input()) |
| val=[] | | value = [] |
| for i in range(N): | | for i in range (n): |
| val.append(float(input())) | | value.append(float(input())) |
| for i in range(N): | | for i in range (n): |
| your_value = val[i]/max(val) | | your_value = value[i]/max(value) |
| print(f'{your_value:.2f}') | | print("{:.2f}".format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 23
Student ID: 123, P-Value: 8.78e-03
Nearest Neighbor ID: 316
Student (left) and Nearest Neighbor (right).
n | x_i = int(input()) | n | x0 = int(input()) |
| x_1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | plus_int = 0 | n | lst = [x0, x1] |
| fib_list = [] | | |
| fib_list.append(x_i) | | |
| fib_list.append(x_1) | | |
| for i in range(N-2): | | for i in range(0, N - 2): |
| plus_int = x_i + x_1 | | x2 = x0 + x1 |
| fib_list.append(plus_int) | | lst.append((x2)) |
| x_i = x_1 | | x0 = x1 |
| x_1 = plus_int | | x1 = x2 |
| print(fib_list)user_input = input() | | print(lst)userInput = input() |
| while(user_input != 'Done' and user_input != 'done' and user_input != 'd'): | | while(userInput != 'Done' and userInput != 'done' and userInput != 'd'): |
| for i in range(len(user_input) -1, -1, -1): | | for i in range(len(userInput) - 1, -1, -1): |
| print(user_input[i], end='') | | print(userInput[i], end='') |
| print() | | print() |
n | user_input = input() | n | userInput = input() |
| n = int(input()) | | n = int(input()) |
| value = [] | | value = [] |
n | for i in range(n): | n | for i in range (n): |
| value.append(float(input())) | | value.append(float(input())) |
n | for i in range(n): | n | for i in range (n): |
| your_value = value[i]/max(value) | | your_value = value[i]/max(value) |
t | print('{:.2f}'.format(your_value)) | t | print("{:.2f}".format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 24
Student ID: 467, P-Value: 1.16e-02
Nearest Neighbor ID: 490
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | my_list = [x0, x1] | n | lst = [x0, x1] |
| num = 0 | | for i in range(0, N - 2): |
| for i in range(2, (N), 1): | | x2 = x0 + x1 |
| num = my_list[i-1] + my_list[i-2] | | lst.append((x2)) |
| my_list.append(num) | | x0 = x1 |
| print(my_list)user_input = input() | | x1 = x2 |
| | | print(lst) |
| | | user_input = input() |
| while(user_input != "Done" and user_input != "done" and user_input != "d"): | | while(user_input != "Done" and user_input != "done" and user_input != "d"): |
n | for i in range((len(user_input)-1), -1, -1): | n | for i in range(len(user_input) - 1, -1, -1): |
| print(user_input[i], end='') | | print(user_input[i], end="") |
| print() | | print() |
t | user_input = input()num_values = int(input()) | t | user_input = input() |
| | | n = int(input()) |
| values = [] | | val = [] |
| for i in range(num_values): | | for i in range(n): |
| values.append(float(input())) | | val.append(float(input())) |
| for i in range(num_values): | | for i in range(n): |
| new_values = values[i]/max(values) | | your_value = val[i]/max(val) |
| print('{:.2f}'.format(new_values)) | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 25
Student ID: 340, P-Value: 1.26e-02
Nearest Neighbor ID: 242
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | list = [x0,x1] | n | lst = [x0,x1] |
| for i in range(0,N-2): | | for i in range (0,N-2): |
| x2 = x0 + x1 | | x2 = x0 +x1 |
| list.append(x2) | | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(list)s = input() | n | print(lst)userinput = input() |
| while (s != 'Done') and (s != 'done') and (s != 'd'): | | while(userinput!='d' and userinput!='Done' and userinput!='done'): |
| for i in range(len(s) - 1, -1, -1): | | for i in range(len(userinput) - 1, -1, -1): |
| print(s[i], end='') | | print(userinput[i], end="") |
| print() | | print() |
t | s = input()num = int(input()) | t | userinput = input() |
| list = [] | | N = int(input()) |
| | | val=[] |
| for i in range(num): | | for i in range(N): |
| list.append(float(input())) | | val.append(float(input())) |
| for i in range(num): | | for i in range(N): |
| val = list[i]/max(list) | | your_value = val[i]/max(val) |
| print(f'{val:.2f}') | | print(f'{your_value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 26
Student ID: 491, P-Value: 1.51e-02
Nearest Neighbor ID: 340
Student (left) and Nearest Neighbor (right).
n | x0=int(input()) | n | x0 = int(input()) |
| x1=int(input()) | | x1 = int(input()) |
| N=int(input()) | | N = int(input()) |
| list=[x0,x1] | | list = [x0,x1] |
| for num in range(0,N-2): | | for i in range(0,N-2): |
| x2=x0+x1 | | x2 = x0 + x1 |
| list.append(x2) | | list.append(x2) |
n | x0=list[-2] | n | x0 = x1 |
| x1=list[-1] | | x1 = x2 |
| print(list) | | print(list)s = input() |
| hi= input() | | while (s != 'Done') and (s != 'done') and (s != 'd'): |
| while (hi!='done' and hi!='Done' and hi!='d'): | | |
| for stri in range(len(hi) - 1, -1, -1): | | for i in range(len(s) - 1, -1, -1): |
| print(hi[stri],end='') | | print(s[i], end='') |
| print() | | print() |
n | hi= input() | n | s = input()num = int(input()) |
| num = int(input()) | | |
| list = [] | | list = [] |
n | for no in range(num): | n | for i in range(num): |
| list.append(float(input())) | | list.append(float(input())) |
t | for no in range(num): | t | for i in range(num): |
| val = list[no]/max(list) | | val = list[i]/max(list) |
| print(f'{val:.2f}') | | print(f'{val:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 27
Student ID: 192, P-Value: 2.65e-02
Nearest Neighbor ID: 258
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
| lst = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | lst.append(x2) | n | lst.append((x2)) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
| print(lst)while True: | | print(lst)while True: |
n | text = input() | n | a=input() |
| if text == 'Done' or text == 'done' or text == 'd': | | if(a=='d' or a=='done' or a=='Done'): |
| break | | break |
n | reverse_text = '' | n | else: |
| for ch in text: | | print(a[::-1])n = int(input()) |
| reverse_text = ch + reverse_text | | val = [] |
| print(reverse_text)n = int(input()) | | |
| num = [] | | |
| for i in range(n): | | for i in range(n): |
n | num.append(float(input())) | n | val.append(float(input())) |
| for i in range(n): | | for i in range(n): |
t | value = (num[i] / max(num)) | t | your_value = val[i]/max(val) |
| print(f'{value:.2f}') | | print(f'{your_value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 28
Student ID: 199, P-Value: 5.99e-02
Nearest Neighbor ID: 118
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
n | N = int(input()) | n | n = int(input()) |
| list = [x0, x1] | | list = [x0, x1] |
n | for i in range(N-2): | n | for i in range(n-2): |
| x= x1 +x0 | | x = x0+x1 |
| list.append(x) | | list.append(x) |
| x0 = x1 | | x0 = x1 |
| x1 = x | | x1 = x |
n | print(list)words = input() | n | print(list)text = input() |
| wordlist = [words] | | textl = [text] |
| while (words != 'done' and words != 'Done' and words != 'd'): | | while text != 'done' and text != 'Done' and text != 'd': |
| for i in range(len(words)): | | for i in range(len(text)): |
| i += 1 | | i += 1 |
| print(words[-i], end='') | | print(text[-i], end ='') |
| if i == len(words): | | if i == len(text): |
| print() | | print() |
t | words = input ()nums = [] | t | text = input() |
| | | data = [] |
| inputnums = int(input()) | | indata = int(input()) |
| for i in range(inputnums): | | for i in range(indata): |
| value = float(input()) | | floating = float(input()) |
| nums.append(value) | | data.append(floating) |
| max = max(nums) | | maxd = max(data) |
| for i in range(inputnums): | | for i in range(indata): |
| print(f'{(nums[i]/max):.2f}') | | print(f'{(data[i]/maxd):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 29
Student ID: 118, P-Value: 5.99e-02
Nearest Neighbor ID: 199
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
n | n = int(input()) | n | N = int(input()) |
| list = [x0, x1] | | list = [x0, x1] |
n | for i in range(n-2): | n | for i in range(N-2): |
| x = x0+x1 | | x= x1 +x0 |
| list.append(x) | | list.append(x) |
| x0 = x1 | | x0 = x1 |
| x1 = x | | x1 = x |
n | print(list)text = input() | n | print(list)words = input() |
| textl = [text] | | wordlist = [words] |
| while text != 'done' and text != 'Done' and text != 'd': | | while (words != 'done' and words != 'Done' and words != 'd'): |
| for i in range(len(text)): | | for i in range(len(words)): |
| i += 1 | | i += 1 |
| print(text[-i], end ='') | | print(words[-i], end='') |
| if i == len(text): | | if i == len(words): |
| print() | | print() |
t | text = input() | t | words = input ()nums = [] |
| data = [] | | |
| indata = int(input()) | | inputnums = int(input()) |
| for i in range(indata): | | for i in range(inputnums): |
| floating = float(input()) | | value = float(input()) |
| data.append(floating) | | nums.append(value) |
| maxd = max(data) | | max = max(nums) |
| for i in range(indata): | | for i in range(inputnums): |
| print(f'{(data[i]/maxd):.2f}') | | print(f'{(nums[i]/max):.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 30
Student ID: 129, P-Value: 6.82e-02
Nearest Neighbor ID: 193
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
| N = int(input()) | | N = int(input()) |
n | lst = [x0, x1] | n | list = [x0, x1] |
| for i in range(0, N - 2): | | for i in range(0, N - 2): |
n | x2 = x0 + x1 | n | x = x0 + x1 |
| lst.append((x2)) | | list.append(x) |
| x0 = x1 | | x0 = x1 |
n | x1 = x2 | n | x1 = x |
| print(lst)while True: | | print(list)while True: |
| string = input() | | string = input() |
n | if (string == 'done') or (string == 'Done') or (string == 'd'): | n | if (string == 'Done' or string == 'done' or string == 'd'): |
| break | | break |
t | else: | t | for i in range(len(string)-1, -1, -1): |
| print(string[::-1]) | | print(string[i], end='') |
| | | print() |
| integer = int(input()) | | n = int(input()) |
| num_list = [] | | value = [] |
| for i in range(integer): | | for i in range(n): |
| num_list.append(float(input())) | | value.append(float(input())) |
| max_val = max(num_list) | | |
| for i in range(integer): | | for i in range(n): |
| num_list[i] = num_list[i] / max_val | | your_value = value[i]/max(value) |
| print(f'{num_list[i]:.2f}') | | print('{:.2f}'.format(your_value)) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 31
Student ID: 450, P-Value: 8.28e-02
Nearest Neighbor ID: 79
Student (left) and Nearest Neighbor (right).
n | def fibonacci_list(n): | n | x0 = int(input()) |
| if n <= 0: | | x1 = int(input()) |
| return [] | | |
| result = [] | | |
| a = int(input()) | | N = int(input()) |
| b = int(input()) | | lst = [x0, x1] |
| for i in range(n): | | for i in range(0, N - 2): |
| result.append(a) | | x2 = x0 + x1 |
| a, b = b, a + b | | lst.append((x2)) |
| return result | | x0 = x1 |
| print(fibonacci_list(25))while True: | | x1 = x2 |
| | | print(lst)while True: |
| string = str(input()) | | string = str(input()) |
| if string == "Done" or string == "done" or string == "d": | | if string == "Done" or string == "done" or string == "d": |
| break | | break |
| else: | | else: |
n | print(string[::-1])n = int(input()) | n | print(string[::-1]) |
| | | n = int(input()) |
| data = [] | | data = [] |
| largest = None | | largest = None |
| for i in range(n): | | for i in range(n): |
| num = float(input()) | | num = float(input()) |
| data.append(num) | | data.append(num) |
| if largest == None or num > largest: | | if largest == None or num > largest: |
n | largest == num | n | largest = num |
| for i in range(n): | | for i in range(n): |
| data[i] = data[i] / largest | | data[i] = data[i] / largest |
t | print('(:.2f)'.format(data[i])) | t | print('{:.2f}'.format(data[i])) |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 32
Student ID: 8, P-Value: 9.79e-02
Nearest Neighbor ID: 192
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
n | n = int(input()) | n | N = int(input()) |
| result = [x0, x1] | | lst = [x0, x1] |
| for i in range(0, n - 2): | | for i in range(0, N - 2): |
| x2 = x0 + x1 | | x2 = x0 + x1 |
n | result.append(x2) | n | lst.append(x2) |
| x0 = x1 | | x0 = x1 |
| x1 = x2 | | x1 = x2 |
n | print(result)list = [] | n | print(lst)while True: |
| while True: | | |
| text = input() | | text = input() |
n | if text == 'Done': | n | if text == 'Done' or text == 'done' or text == 'd': |
| break | | break |
t | elif text == 'done': | t | reverse_text = '' |
| break | | for ch in text: |
| elif text == 'd': | | reverse_text = ch + reverse_text |
| break | | print(reverse_text)n = int(input()) |
| text = text[::-1] | | num = [] |
| list.append(text) | | |
| for i in list: | | |
| print(i) | | |
| list = [] | | |
| no_nums = int(input()) | | |
| for i in range(no_nums): | | for i in range(n): |
| val = float(input()) | | num.append(float(input())) |
| list.append(val) | | |
| maximum = max(list) | | |
| for i in range(no_nums): | | for i in range(n): |
| print(f'{(list[i]/maximum):.2f}') | | value = (num[i] / max(num)) |
| | | print(f'{value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 33
Student ID: 375, P-Value: 9.99e-01
Nearest Neighbor ID: 34
Student (left) and Nearest Neighbor (right).
n | | n | x0 = int(input()) |
| x1=int(input()) | | x1 = int(input()) |
| x2=int(input()) | | |
| n=int(input()) | | n = int(input()) |
| if n==10: | | list=[x0,x1] |
| x3=x1+x2 | | for value in range(0, n-2): |
| x4=x2+x3 | | |
| x5=x3+x4 | | |
| x6=x4+x5 | | |
| x7=x5+x6 | | |
| x8=x6+x7 | | |
| x9=x7+x8 | | |
| x10=x8+x9 | | |
| print('[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}]'.format(x1,x2,x3,x4,x5,x6,x7 | | |
| ,x8,x9,x10)) | | |
| elif n==20: | | |
| x3=x1+x2 | | |
| x4=x2+x3 | | |
| x5=x3+x4 | | |
| x6=x4+x5 | | |
| x7=x5+x6 | | |
| x8=x6+x7 | | |
| x9=x7+x8 | | |
| x10=x8+x9 | | |
| x11=x9+x10 | | |
| x12=x10+x11 | | x2=x0+x1 |
| x13=x11+x12 | | list.append((x2)) |
| x14=x12+x13 | | |
| x15=x13+x14 | | |
| x16=x14+x15 | | |
| x17=x15+x16 | | |
| x18=x16+x17 | | |
| x19=x17+x18 | | |
| x20=x18+x19 | | |
| print('[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, | | |
| {}, {}, {}]'.format(x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x | | |
| 18,x19,x20)) | | |
| elif n==25: | | |
| x3=x1+x2 | | x0=x1 |
| x4=x2+x3 | | x1=x2 |
| x5=x3+x4 | | print(list)line = ' ' |
| x6=x4+x5 | | reverse = '' |
| x7=x5+x6 | | |
| x8=x6+x7 | | |
| x9=x7+x8 | | |
| x10=x8+x9 | | |
| x11=x9+x10 | | |
| x12=x10+x11 | | |
| x13=x11+x12 | | |
| x14=x12+x13 | | |
| x15=x13+x14 | | |
| x16=x14+x15 | | |
| x17=x15+x16 | | |
| x18=x16+x17 | | |
| x19=x17+x18 | | |
| x20=x18+x19 | | |
| x21=x19+x20 | | |
| x22=x20+x21 | | |
| x23=x21+x22 | | |
| x24=x22+x23 | | |
| x25=x23+x24 | | |
| x26=x24+x25 | | |
| print('[{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, | | |
| {}, {}, {}, {}, {}, {}, {}, {}]'.format(x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x | | |
| 13,x14,x15,x16,x17,x18,x19,x20,x21,x22,x23,x24,x25)) | | |
| while True: | | while True: |
n | words = input() | n | line = input() |
| if words == 'done': | | if (line == 'Done') or (line == 'done') or (line == 'd'): |
| break | | break |
n | elif words == 'Done': | n | else: |
| break | | print(line[:: -1])num_values = int(input()) |
| elif words == 'd': | | |
| break | | |
| if words =='done': | | |
| print('ereht olleH') | | |
| print('yeH') | | |
| elif words =='d': | | |
| print('a') | | |
| print('ba') | | |
| print('cba') | | |
| elif words =='Done': | | |
| print('!!!ym hO')N=int(input()) | | |
| xList=[] | | xList=[] |
n | for _ in range(N): | n | for _ in range(num_values): |
| newVal=int(float(input())) | | newVal=float(input()) |
| xList.append(newVal) | | xList.append(newVal) |
| for x in xList: | | for x in xList: |
t | your_value=(x/max(xList)) | t | new_value = x / max(xList) |
| print(f'{your_value:.2f}') | | print(f'{new_value:.2f}') |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|
Page 34
Student ID: 182, P-Value: 9.93e-01
Nearest Neighbor ID: 160
Student (left) and Nearest Neighbor (right).
f | x0 = int(input()) | f | x0 = int(input()) |
| x1 = int(input()) | | x1 = int(input()) |
t | num_items = int(input()) | t | N = int(input()) |
| fib_list = [x0, x1] | | myList = [] |
| x = 2 | | i = 1 |
| for z in range(2, num_items): | | while i <= N: |
| xn = fib_list[x-1] + fib_list[x-2] | | |
| fib_list.append(xn) | | myList.append(x0) |
| | | x2 = x0 + x1 |
| | | x0 = x1 |
| | | x1 = x2 |
| x += 1 | | i += 1 |
| print(fib_list)import re | | print(myList)string = input() |
| strig_im_going_insane = input() | | stringList = [] |
| list_of_lists = [] | | while (string != "Done" and string != "done" and string != "d"): |
| list_of_lists.append(str(strig_im_going_insane)) | | stringList.append(string) |
| while strig_im_going_insane != "Done" and strig_im_going_insane != "done" and st | | string = input() |
| rig_im_going_insane != "d": | | |
| list_of_lists.append(str(input())) | | for n in range(len(stringList)): |
| strig_im_going_insane = list_of_lists[-1] | | print(stringList[n][::-1])myList = [] |
| x = 0 | | total = int(input()) |
| if "Done" in list_of_lists: | | n = 1 |
| list_of_lists.remove("Done") | | while n <= total: |
| elif "done" in list_of_lists: | | value = float(input()) |
| list_of_lists.remove("done") | | myList.append(float(value)) |
| elif "d"in list_of_lists: | | |
| list_of_lists.remove("d") | | |
| for x in range(len(list_of_lists)): | | |
| list = ' '.join(reversed(str(list_of_lists[x]))) | | |
| list2 = str(list).replace("[","") | | |
| list3 = str(list2).replace("]","") | | |
| list4 = str(list3).replace(",","") | | |
| list5 = str(list4).replace("'","") | | |
| list6 = ' '.join([''.join(i.split()) for i in re.split(r' {2,}',list5)]) | | |
| print(list6) | | |
| x += 1 | | n += 1 |
| amt_float = int(input()) | | max_list = max(myList) |
| num_float = 0 | | for i in range(len(myList)): |
| list_floats = [] | | your_value = myList[i] / max_list |
| while num_float < amt_float: | | print(f'{your_value:.2f}') |
| list_floats.append(float(input())) | | |
| num_float += 1 | | |
| num_float = 0 | | |
| max_num = max(list_floats) | | |
| while num_float < amt_float: | | |
| list_floats[num_float] = list_floats[num_float] / max_num | | |
| num_float += 1 | | |
| num_float = 0 | | |
| while num_float < amt_float: | | |
| print(f'{list_floats[num_float]:.2f}') | | |
| num_float += 1 | | |
Legends |
Colors |
Added |
Changed |
Deleted |
|
Links |
(f)irst change |
(n)ext change |
(t)op |
|