This file contains 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
@echo off | |
:killSapience | |
echo|set /p=. | |
timeout /t 30 /nobreak >nul | |
taskkill /im Sapience* /f >nul 2>&1 & goto killSapience | |
exit |
This file contains 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 ufg; | |
import java.io.BufferedOutputStream; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.io.OutputStream; | |
import java.io.PrintStream; | |
import java.net.MalformedURLException; |
This file contains 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
// Java function for converting simple XPath to CSS Selector. | |
// Used cssify.js from [cssify.js](https://gist.github.com/Dither/1909679) | |
// Removed log statements (as window objects aren't supported in ScriptEngine) | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import javax.script.Invocable; | |
import javax.script.ScriptEngine; | |
import javax.script.ScriptEngineManager; |
This file contains 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 java.util.Scanner; | |
class CHEFLUCK { | |
/** | |
* @author Cypronmaya-May12-CHEFLUCK-Accepted | |
*/ | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); |
This file contains 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 com.cyp.codechef; | |
/** | |
* @author Cypronmaya -Codechef- Accepted | |
*/ | |
import java.util.Comparator; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.Scanner; | |
import java.util.TreeMap; |
This file contains 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 com.cyp.codechef; | |
/** | |
* @author Cypronmaya -Codechef- Accepted | |
*/ | |
import java.util.HashSet; | |
import java.util.Scanner; | |
class JewelsAndStones { |
This file contains 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 com.cyp.codechef.marcontest; | |
import java.io.IOException; | |
import java.util.Scanner; | |
/* | |
* Cypronmaya - Codechef March 2012 Contest - Problem Code : SPOON | |
*/ | |
class SPOON { |
This file contains 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 com.interviewstreet.puzzles; | |
import java.math.BigInteger; | |
import java.util.Arrays; | |
import java.util.Scanner; | |
public class Solution { | |
int bit; |
This file contains 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 com.cyp.codechef.febcontest; | |
import java.math.BigInteger; | |
import java.util.HashMap; | |
import java.util.Scanner; | |
class WCOUNT { | |
int len; | |
BigInteger mod; | |
HashMap<Character,Integer> hm=new HashMap<Character,Integer>(); |
This file contains 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
/** | |
* | |
* @author cypronmaya | |
*/ | |
import java.util.Scanner; | |
class Solution { | |
boolean[] check; |
NewerOlder