Skip to content

Instantly share code, notes, and snippets.

View kaineer's full-sized avatar
:octocat:
⌨️ 🖱️

Sergey Kluchkovsky kaineer

:octocat:
⌨️ 🖱️
View GitHub Profile
@kaineer
kaineer / picture.js
Last active September 14, 2016 04:29 — forked from Luardi/picture-element.js
'use strict';
var template = document.querySelector('template');
var templateContainer = 'content' in template ? template.content : template;
var newGallery = require('./gallery');
var IMAGE_LOAD_TIMEOUT = 10000;
var Picture = module.exports = function(picture, i) {
this.data = picture;
a = input()
b = input()
print('Сколько камней ?')
r = int(input())
i = 0
o = 0
while o == 0:
c = int(input())
if not c == 2 or not c < 4:
r -= c