This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ESGI; | |
/** | |
* Created by Vincent on 23/01/2017. | |
*/ | |
public class Activity { | |
String type; | |
int begin; | |
int end; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ESGI; | |
/** | |
* Created by Vincent on 03/01/2017. | |
*/ | |
public class Affectation { | |
Worker worker; | |
String date; | |
String task; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def pairProduct (input) : | |
minProduct = 1 | |
maxProduct = 1 | |
tmp_list = list(input) | |
if not input : | |
print(0,0) | |
return | |