Skip to content

Instantly share code, notes, and snippets.

@navichok26
navichok26 / 25.py
Created December 18, 2020 12:20
25 Задание по инфе
from math import *
for i in range(174457, 174505+1):
count_d = 0 # Кол-во делителей числа
delit = 0 # Один из делителей нужного числа
for d in range(2, round(sqrt(i))+1):
if i % d == 0: # Если i делится на d
count_d += 2
delit = d # Сохраняем меньший делитель
for i in range(33333, 55555+1):
sum_del = 0
for d1 in range(2, int(i**0.5)+1):
if i%d1 == 0:
d1_norm = True
for j in range(2, int(d1**0.5)+1):
if d1%j == 0:
d1_norm = False
d2 = i//d1
d2_norm = True
@navichok26
navichok26 / README.md
Created June 14, 2021 16:01
vim themes
  • coldgreen
  • chlordane
  • understated
  • SweetCandy
  • preto
  • sean
  • smarties
  • space-vim-dark
@navichok26
navichok26 / .vimrc
Last active June 15, 2021 01:57
updateable .vimrc
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
Plug 'plasticboy/vim-markdown'
Plug 'flazz/vim-colorschemes'
Plug 'xolox/vim-colorscheme-switcher'
@navichok26
navichok26 / ranger-cheatsheet.md
Created August 14, 2022 09:44 — forked from heroheman/ranger-cheatsheet.md
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
function getCaller(context) {
return DebugSymbol.fromAddress(Thread.backtrace(context, Backtracer.ACCURATE)[0]);
}