Skip to content

Instantly share code, notes, and snippets.

@kiloreux
kiloreux / Project Euler : Smallest multiple
Created November 7, 2014 20:49
My solution for Project Euler Smallest Multiple
#include<iostream>
using namespace std;
bool EvenlyDivisible(int num)
{
for(int i=1;i<=20;i++)
{
if(num%i!=0)
{
return false;
@kiloreux
kiloreux / Project Euler : Sum square difference
Created November 7, 2014 21:06
My solution for Project Euler
#include<iostream>
using namespace std;
int main(void)
{
int sum=0,sumsquared=0,squaressum=0;
for(int i=0;i<=100;i++)
{
squaressum+=i*i;
@kiloreux
kiloreux / Project Euler : 10001 prime
Created November 7, 2014 21:46
My solution to Project Euler problem
#include<iostream>
bool isPrime(long long kil)
{
for (long long i=2;i<kil;i++)
{
if(kil%i==0)
{
return false;
}
@kiloreux
kiloreux / Project Euler : Special Pythagorean triplet
Created November 8, 2014 20:33
My solution to Project Euler problem
#include<iostream>
using namespace std;
int main(void)
{
const int sum=1000;
int a,b,c;
for(a=0;a<1000;a++)
{
for(b=0;b<1000;b++)
{
@kiloreux
kiloreux / Project Euler :Summation of Primes
Created November 8, 2014 22:08
My solution to Project Euler problem
#include<iostream>
#include<cmath>
using namespace std;
bool isPrime(long long var)
{
for(int i=2;i<=sqrt(var);i++)
{
if(var%i==0)
{
@kiloreux
kiloreux / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../topeka-elements/avatars.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key whose fingerprint is 6B48 00C7 07B4 69AA 2157 4F4B F94C 924B 0BE3 583B

To claim this, I am signing this object:

--------------
|
|
|
|
|
|
|
|
|

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key ASAHZ7UlCw4HFzJzVdsMM07gjyckQ-XmfolAkym9QHW7vAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kiloreux on github.
  • I am kiloreux (https://keybase.io/kiloreux) on keybase.
  • I have a public key whose fingerprint is 299A 6FB5 4B1B 878F 35FC AD28 8B81 EA3F A91E B758

To claim this, I am signing this object: