Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if __name__ == '__main__':
- N = int(input())
- N = int(input())
- n_levels = 3
- levels = [[0] * N for i in range(3)]
- first = input().split(' ')
- second = input().split(' ')
- third = input().split(' ')
- for i in range(N):
- levels[0][i] = int(first[i])
- levels[1][i] = int(second[i])
- levels[2][i] = int(third[i])
- count_variables = 0
- variables = []
- for i in range(N):
- for j in range(N):
- for k in range(N):
- variables.append([levels[0][i], levels[1][j], levels[2][k]])
- for i in range(len(variables)):
- if variables[i][0] < variables[i][1] < variables[i][2]:
- count_variables += 1
- print(count_variables)
Add Comment
Please, Sign In to add comment