Skip to content

Instantly share code, notes, and snippets.

float a = (float) 0.00;
float b = (float) 0.00;
float c = (float) 0.00;
for(; a < 65.52; a+=0.01){
for(; b < 65.52; b+=0.01){
for(; c < 65.52; c+=0.01){
if(a+b+c == 65.52 && a*b*c == 65.52){
System.out.println(a+", "+b+", "+c);
break;
}
package ESGI;
/**
* Created by Vincent on 23/01/2017.
*/
public class Activity {
String type;
int begin;
int end;
@RossignolVincent
RossignolVincent / Affectation.java
Created January 3, 2017 16:01
EvilCorp Vincent Rossignol
package ESGI;
/**
* Created by Vincent on 03/01/2017.
*/
public class Affectation {
Worker worker;
String date;
String task;
import unittest
from math import *
class KataTests(unittest.TestCase):
def test_on_one(self):
self.assertEqual(number_to_roman(1), "I")
def test_on_two(self):
self.assertEqual(number_to_roman(2), "II")
@RossignolVincent
RossignolVincent / pairProduct.py
Last active November 15, 2016 15:38
Pair Product
def pairProduct (input) :
minProduct = 1
maxProduct = 1
tmp_list = list(input)
if not input :
print(0,0)
return