Skip to content

Instantly share code, notes, and snippets.

View h1g0's full-sized avatar

hi_go h1g0

View GitHub Profile

Keybase proof

I hereby claim:

  • I am h1g0 on github.
  • I am h_g (https://keybase.io/h_g) on keybase.
  • I have a public key ASB8t-HLhq-VYHrih2iEqblvKkn6-8EVsQ5-Gi9Ox4rqago

To claim this, I am signing this object:

@h1g0
h1g0 / Parachute(W).spa
Created August 28, 2019 16:13
昔SPALMという言語用に書いたゲームをSPALM Web Interpreter( https://hamayapp.appspot.com/static/sp_interpreter.html )用に少し調整したゲーム
soft1("終了")
setfont("S")
ca=-90
cx=width/2
cy=160
bc=4
hc=0
pc=0
lc=5
s=0
javascript: (function(){var lat=30.986+(45.522-30.986)*Math.random();var lon=122.934+(145.816-122.934)*Math.random();window.open("https://www.google.co.jp/maps/search/"+lat+","+lon);}());
#include <iostream>
#include <boost/timer.hpp>
/*###########################################
*入力された値がピタゴラス数かどうかを判定
###########################################*/
int main(){
int z,z2;
std::cout << "X^2 + Y^2 = Z^2" <<std::endl;
std::cout << "Input Z?" << std::endl;
std::cin >> z;