Skip to content

Instantly share code, notes, and snippets.

View vchatela's full-sized avatar
🎯
Focusing

Valentin C. vchatela

🎯
Focusing
View GitHub Profile
@vchatela
vchatela / Temperatures.java
Created February 2, 2016 21:40
Codingame : Temperatures challenge Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution {
@vchatela
vchatela / Thor.java
Created February 2, 2016 21:42
Codingame : Power of Thor Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
* ---
* Hint: You can use the debug stream to print initialTX and initialTY, if Thor seems not follow your orders.
**/
@vchatela
vchatela / Descent.java
Last active February 2, 2016 21:43
Codingame : The Descent Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Player {
@vchatela
vchatela / Skynet.java
Created February 2, 2016 21:43
Codingame : Skynet the Chasm Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Player {
@vchatela
vchatela / Chuck.java
Created February 2, 2016 21:53
Codingame : ChuckNorris Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution {
@vchatela
vchatela / Mime.java
Created February 2, 2016 21:57
Codingame : MIME Types Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution {
@vchatela
vchatela / Defibrillators.java
Last active February 2, 2016 22:00
Codingame : Defibrillators Solution
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution {
@vchatela
vchatela / Winamax_Sponsored_Contest.java
Created February 10, 2016 18:12
Codingame : Winamax Sponsored Contest
import java.util.*;
import java.io.*;
import java.math.*;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class Solution {
@vchatela
vchatela / APU_Init_Phase.java
Created February 10, 2016 19:19
Codingame : APU Init Phase Solution
import java.util.LinkedList;
import java.util.List;
import java.util.Optional;
import java.util.Scanner;
/**
* Don't let the machines win. You are humanity's last hope...
**/
class Player {
@vchatela
vchatela / Skynet_the_Virus.java
Created February 10, 2016 20:25
Codingame : Skynet the Virus Java
import java.util.Arrays;
import java.util.Comparator;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Objects;
import java.util.Optional;
import java.util.Queue;
import java.util.Scanner;
import java.util.Set;
import java.util.stream.Stream;