View 155.py
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
##155 Python https://tgraph.io/Anons-155-Algoritm-szhatiya-RLE-02-05 | |
string = str(input('Введите строку: ')) | |
string += ' ' | |
string2 = '' | |
j = 1 | |
for i in range(len(string)): | |
if i == len(string) - 1: | |
break | |
else: | |
if string[i] == string[i+1]: |
View 00.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Завдання 0</title> | |
</head> | |
<script> | |
function pow(x, n) { | |
var result = 1; | |
for (var i = 0; i < n; i++) { |
View 2-1findPrimes.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>findPrimes(a, b)</title> | |
</head> | |
<script> | |
function findPrimes(min, max) { | |
var sieve = [], i, j, primes = [], ans = []; |
View index1.html
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<script> | |
function addClass(obj, cls) { | |
var classes = obj.className ? obj.className.split(' ') : []; |
View all.html
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Ratig calc by V_Kn</title> | |
<link rel="stylesheet" href="css/style.css"> | |
<link rel="stylesheet" href="js/script.js"> | |
<link href="https://fonts.googleapis.com/css?family=Dancing+Script&display=swap" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Indie+Flower&display=swap" rel="stylesheet"> |
View idea. html
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
But | |
<input type="button"> | |
cursor: pointer; | |
https://www.w3schools.com/tags/tag_input.asp |
View Lesson 1. BinaryGap
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
function solution(N) { | |
Numb = String(N.toString(2)); | |
N = 0; | |
var m1 = Numb.indexOf('1', 0); | |
var count = 0; | |
var pos = Numb.indexOf('1'); | |
var m2 = 0; |
View main.dart
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 'dart:async'; | |
import 'dart:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:http/http.dart' as http; | |
void sortList(list) { | |
return list.sort((a, b) => a.toString().compareTo(b.toString())); | |
} |