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: Krypton3 | |
//Dynamic problem | |
import java.math.BigInteger; | |
import java.util.Scanner; | |
public class Uva_495 { | |
public static void main(String[] args) { | |
BigInteger[] fib = fib(5001); | |
Scanner in= new Scanner(System.in); | |
while(in.hasNext()){ | |
int n = in.nextInt(); |
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: Krypton3 | |
//simulation problem/formula finding | |
#include<bits/stdc++.h> | |
using namespace std; | |
int m,n; | |
int main() | |
{ | |
int test,ans; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ |
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: Krypton3 | |
//Stack related | |
import java.util.Scanner; | |
import java.util.Stack; | |
public class lightoj1113 { | |
public static void main(String[] args) { | |
Scanner in=new Scanner(System.in); | |
int testCase; | |
testCase = in.nextInt(); | |
String query[]; |
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: Krypton3 | |
//Binary related problem | |
#include<bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int test,num; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ |
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: Krypton3 | |
//Basic problem | |
#include<bits/stdc++.h> | |
using namespace std; | |
//int arr[1005]; | |
int main() | |
{ | |
int test,total; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ |
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: Krypton3 | |
//Geometry | |
#include<bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int test; | |
double ox,oy,ax,ay,bx,by; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ |
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: Krypton3 | |
//Basic Simulation/Hints: Grundy numbers for competitive programming | |
#include<bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int test; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ | |
long long a=1,b=2; |
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: Krypton3 | |
//Basic problem | |
#include<bits/stdc++.h> | |
using namespace std; | |
int arr[32]; | |
int main() | |
{ | |
int test; | |
scanf("%d",&test); | |
int n,p,q; |
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
<?php | |
include("simple_html_dom.php"); | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Coding Nest</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> |
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: Krypton3 | |
//Basic Problem and you need to catch the catch :P :P | |
#include<bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
int test,m; | |
long long int w; | |
scanf("%d",&test); | |
for(int p=1;p<=test;p++){ |
OlderNewer