hoaithu.melody
|
codepad
|
|
hoaithu.melody
|
Saved pastes by hoaithu.melody:
// 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) |
import java.util.Scanner;
public class Solution {
static long A[];
static int kiux[];
static int kiuy[];
|
view (63 lines, 2 lines of output) |
//Assigning a Meeting Room
import java.util.Scanner;
public class Solution {
static int top, n, count;
|
view (63 lines, 2 lines of output) |
//Sinh hoan vi by SVMC
#include<iostream>
using namespace std;
int T, exChange, leng, Anwser, value;
|
view (73 lines) |
//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) |
//tinh bieu thuc cay nhi phan
#include <iostream>
#include <conio.h>
using namespace std;
|
view (71 lines, 4 lines of output) |
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) |
//Calculator
#include <iostream>
#include <conio.h>
using namespace std;
#define MAX 1000
|
view (185 lines, 4 lines of output) |
//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) |
//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) |
//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) |