This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the | |
// Apache 2.0 license that can be found in the LICENSE file. | |
import androidx.compose.desktop.ui.tooling.preview.Preview | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.fillMaxSize | |
import androidx.compose.material.Button | |
import androidx.compose.material.MaterialTheme | |
import androidx.compose.material.Text | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.getValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'Enighma' | |
data = [2, 5, 1, 2, 3, 4, 7, 7, 6] | |
data = [2, 5, 1, 3, 1, 2, 1, 7, 7, 6] | |
class Point: | |
x=0 | |
y=0 | |
def Point(self, x, y): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
lines = [] | |
for line in sys.stdin: | |
lines.append(line) | |
numbers = map(int, lines[1].split()) | |
max = numbers[-1] | |
min = numbers[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import adbparser | |
import adb | |
# Tests are run in the order they ware defined here. | |
test_runners = [ | |
'com.testpackage.testapp.test.MyTestRunner1', | |
'com.testpackage.testapp.test.MyTestRunner2' | |
] | |
test_package = 'com.testpackage.testapp.test' |