[ create a new paste ] login | about

hoaithu.melody

Name: Hoai Thu
Email:
Site/Blog:
Location:
Default language: C++
Favorite languages:
About:

Saved pastes by hoaithu.melody:

C++, pasted on Jul 5:
1
2
3
4
// quan ma

#include <iostream>
using namespace std;
...
view (116 lines, 3 lines of output)
C++, pasted on Jul 4:
1
2
3
4
5
// domino - quyen

import java.util.Scanner;

public class Solution{
...
view (67 lines, 2 lines of output)
C++, pasted on Jul 4:
1
2
3
4
5
// CleanRobot

import java.util.Scanner;

public class Solution {
...
view (174 lines, 2 lines of output)
C++, pasted on Jul 3:
1
2
3
4
//Contact

#include <iostream>
using namespace std;
...
view (46 lines, 10 lines of output)
C++, pasted on Jul 3:
1
2
3
4
5
//Qua cau
// Tank like this

#include <iostream>
using namespace std;
...
view (52 lines, 3 lines of output)
C++, pasted on Jul 2:
1
2
3
4
//PT07Z

#include<iostream>
using namespace std;
...
view (55 lines, 3 lines of output)
C++, pasted on Jul 2:
1
2
3
4
5
// Grid Acid

#include <iostream>
#include <conio.h>
using namespace std;
...
view (101 lines, 4 lines of output)
C++, pasted on Jun 29:
1
2
3
4
// Cover rectangle with dominos

#include <iostream>
using namespace std;
...
view (83 lines, 3 lines of output)
C++, pasted on Jun 27:
1
2
3
4
// sum it up

#include <iostream>
using namespace std;
...
view (54 lines, 3 lines of output)
C++, pasted on Jun 26:
1
2
3
4
5
// BFS basic

package bfs;

import java.io.FileInputStream;
...
view (66 lines, 2 lines of output)
C++, pasted on Jun 26:
1
2
3
// PinkBlue

import java.util.Scanner;
...
view (125 lines, 2 lines of output)
C++, pasted on Jun 26:
1
2
3
4
5
// Catan by Thu

#include <iostream>
#include <conio.h>
using namespace std;
...
view (64 lines, 4 lines of output)
C++, pasted on Jun 26:
1
2
3
4
// Score

#include <iostream>
using namespace std;
...
view (50 lines, 3 lines of output)
C++, pasted on Jun 26:
1
2
3
4
// Catan

#include <iostream>
using namespace std;
...
view (55 lines)
C++, pasted on Jun 26:
1
2
3
4
5
// Pink Blue

// In Practice, You should use the statndard input/output
// in order to receive a score properly.
// Do not use file input and output. Please be very careful. 
...
view (125 lines, 2 lines of output)
C++, pasted on Jun 25:
1
2
3
4
5
// SPOJ BYTESM2

#include <iostream>
#include <conio.h>
using namespace std;
...
view (54 lines, 4 lines of output)
C++, pasted on Jun 22:
1
2
3
4
// Mountain Walking Full

#include <iostream>
using namespace std;
...
view (73 lines)
C++, pasted on Jun 21:
1
2
3
4
// Location Pizza

#include <iostream>
using namespace std;
...
view (80 lines, 3 lines of output)
C++, pasted on Jun 21:
1
2
3
4
// Di chuyen bo - Thaopt

#include <iostream>
using namespace std;
...
view (35 lines)
C++, pasted on Jun 21:
1
2
3
4
//Path finding puzzles

#include <iostream>
using namespace std;
...
view (68 lines)
C++, pasted on Jun 21:
1
2
3
4
// Validate the maze

#include <iostream>
using namespace std;
...
view (77 lines)
C++, pasted on Jun 21:
1
2
3
4
5
// Di chuyen bo

#include <iostream>
#include <conio.h>
#include <time.h> 
...
view (66 lines, 4 lines of output)
C++, pasted on Jun 21:
1
2
3
4
// IceCave

#include <iostream>
using namespace std;
...
view (59 lines)
C++, pasted on Jun 20:
1
2
3
4
// Lucky number

#include <iostream>
using namespace std;
...
view (78 lines)
C++, pasted on Jun 20:
1
2
3
4
// Bieu thuc zero

#include <iostream>
using namespace std;
...
view (36 lines)
C++, pasted on Jun 20:
1
2
3
// Laughing bomb c++

#include <iostream>
...
view (63 lines)
C++, pasted on Jun 20:
1
2
3
4
// Crazy king C++

#include <iostream>
using namespace std;
...
view (93 lines)
C, pasted on Jun 20:
1
2
3
4
5
// Crazy King

import java.util.Scanner;

public class Solution {
...
view (123 lines, 2 lines of output)
C++, pasted on Jun 19:
1
2
3
//Bao ve nong trai

import java.util.Scanner;
...
view (71 lines, 2 lines of output)
C++, pasted on Jun 18:
1
2
3
//quan tuong

import java.util.Scanner;
...
view (100 lines, 2 lines of output)
C++, pasted on Jun 18:
1
2
3
4
5
//FastRobot

import java.util.Scanner;

public class Solution {
...
view (109 lines, 2 lines of output)
C++, pasted on Jun 18:
1
2
3
4
5
//Diamond
import java.util.Scanner;

public class Solution {
	static int count, kt;
...
view (60 lines, 2 lines of output)
C++, pasted on Jun 13:
1
2
3
4
5
//Cycle
import java.util.Scanner;

public class Solution {
	
...
view (75 lines, 2 lines of output)
C++, pasted on Jun 13:
1
2
3
4
5
import java.util.Scanner;
public class Solution {
static long A[];
static int kiux[];
static int kiuy[];
...
view (63 lines, 2 lines of output)
C++, pasted on Jun 6:
1
2
3
4
5
//GridAcid

#include <stdio.h>

int a[3005][3005];
...
view (127 lines, 8886 lines of output)
C++, pasted on Jun 5:
1
2
3
4
5
//TanCongThanhTri

#include <iostream>

using namespace std;
...
view (96 lines)
C++, pasted on Jun 5:
1
2
3
4
5
//RouteFinding

#include <iostream>

using namespace std;
...
view (46 lines, 10 lines of output)
C++, pasted on Jun 5:
1
2
3
4
5
//WellProject

#include <iostream>

using namespace std;
...
view (103 lines)
C++, pasted on Jun 5:
1
2
3
4
5
//TheFrog
#include <iostream>
using namespace std;

const int MAXN = 209;
...
view (82 lines)
C++, pasted on Jun 4:
1
2
3
4
5
//princess
import java.util.Scanner;

class Solution {
	static int A[][];
...
view (121 lines, 2 lines of output)
C, pasted on Jun 1:
1
2
3
4
5
import java.util.Scanner;

public class Solution {
	static int n, m;
	static long A[][];
...
view (66 lines, 2 lines of output)
C++, pasted on Jun 1:
1
2
3
4
5
//partition1
import java.util.Scanner;

class Solution
{
...
view (55 lines, 2 lines of output)
C++, pasted on Jun 1:
1
2
3
4
//Earning Biggest Prize Money 2
import java.util.Scanner;

public class Solution {
...
view (77 lines, 2 lines of output)
C++, pasted on Jun 1:
1
2
3
4
5
//Assigning a Meeting Room
import java.util.Scanner;

public class Solution {
 static int top, n, count;
...
view (63 lines, 2 lines of output)
C++, pasted on May 31:
1
2
3
4
5
//Sinh hoan vi by SVMC
#include<iostream>
using namespace std;

int T, exChange, leng, Anwser, value;
...
view (73 lines)
C, pasted on May 31:
1
2
3
4
5
// Cutting Paper By SVMC
#include <stdio.h>

int a[201][201];
int N;
...
view (61 lines, 8883 lines of output)
C, pasted on May 31:
1
2
3
4
5
//Upgrade Computer
#include <stdio.h>
int N,M,L;
int listNM[60], listL[21];
int a[60][21];
...
view (91 lines, 8331 lines of output)
C, pasted on May 31:
1
2
3
4
5
//CaptureKnight
#include <stdio.h>

int a[1001][1001];
int N,M;
...
view (90 lines, 10250 lines of output)
C++, pasted on May 31:
1
2
3
4
5
//Cutting paper
import java.util.Scanner;

public class Solution {
 static int countT;
...
view (66 lines, 2 lines of output)
C++, pasted on May 29:
1
2
3
4
5
50
9 9
2 2 4 4
20 20
2 3 7 9
...
view (101 lines, 2 lines of output)
C++, pasted on May 28:
1
2
3
4
5
//tinh bieu thuc cay nhi phan
#include <iostream>
#include <conio.h>

using namespace std;
...
view (71 lines, 4 lines of output)
C++, pasted on May 28:
1
2
3
4
5
//minimal big sum
#include <iostream>
 using namespace std;

 int main()
...
view (41 lines)
C++, pasted on May 24:
1
2
3
4
5
113
(9+(5*2+1)+(3*3*7*6*9*1*7+1+8*6+6*1*1*5*2)*4*7+4*3*8*2*6+(7*8*4*5)+3+7+(2+6+5+1+7+6+7*3*(6+2)+6+6)*2+4+2*2+4*9*3)
85
(4+8+4*(8*5*(7*(6*8)+3+(6+(3+7+1*7*5*4)*3)*2*3+5)+6+7*7)*4+2+9*4+7+2*3*(7*6*1*8)+9+9)
97
...
view (20 lines, 2 lines of output)
C++, pasted on May 24:
1
2
3
4
5
//Calculator
#include <iostream>
#include <conio.h>
using namespace std;
#define MAX 1000
...
view (185 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//StockExchange
#include <iostream>
#include <conio.h>

using namespace std;
...
view (42 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//palindrome2
#include <iostream>
#include <conio.h>

using namespace std;
...
view (85 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//Palindrome
#include <iostream>
#include <conio.h>

using namespace std;
...
view (73 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//Magnetic
#include <iostream>
#include <conio.h>

using namespace std;
...
view (38 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//ladder
#include <iostream>
#include <conio.h>

using namespace std;
...
view (49 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//GNS
#include <iostream>
#include <stdio.h>
#include <string>
#include <conio.h>
...
view (56 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
//Flatten
//cho nhieu cot co do cao khac nhau, chuyen lan luot tung o tu cot cao nhat den cot thap nhat. sau dump lan chuyen, xuat ra hieu cao nhat - thap nhat
#include <iostream>
#include <conio.h>
...
view (54 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//FindMode
#include <iostream>
#include <conio.h>

using namespace std;
...
view (37 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//AlgebraicExpressionLV1
//cho 1 cay nhi phan, ktra xem cay nay co tinh dc ko
#include <iostream>
#include <cstring>
#include <cstdlib>
...
view (67 lines, 4 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//AlgebraicExpression
//cho 1 cay nhi phan, tinh ra ket qua cuoi cung
#include <iostream>
#include <cstring>
#include <cstdlib>
...
view (59 lines, 3 lines of output)
C++, pasted on Mar 9:
1
2
3
4
5
//CountString
//cho 1 cau, 1 xau ki tu. dem xem trong cau co bao nhieu xau nhu the
#include <iostream>
#include <stdio.h>
#include <conio.h>
...
view (46 lines, 4 lines of output)