I hereby claim:
- I am Nhoya on github.
- I am nhoya (https://keybase.io/nhoya) on keybase.
- I have a public key whose fingerprint is 1EE9 73D1 7589 728C 5B3C C1EF 450F 90B1 E172 57F8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Copyright (C) 2015 sten_gun, Nhoya. | |
# | |
# gensum is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
function solver(){ | |
var num1 = Number(document.getElementById('task_x').innerHTML); | |
var num2 = Number(document.getElementById('task_y').innerHTML); | |
if( oldnum1 !== num1 || oldnum2 !== num2){ | |
var operation = document.getElementById('task_op').innerHTML; | |
var fake_result = document.getElementById('task_res').innerHTML; | |
var result = true; | |
if (operation === '×'){ | |
result = (num1 * num2); |
I hereby claim:
To claim this, I am signing this object: