hiho week 80 register

Ended

Participants:173

Verdict:Accepted
Score:100 / 100
Submitted:2016-01-09 23:17:09

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include<stdio.h>
int N,x,y,z;
int cy,cr,cb;
int g[3];
int h[3];
int abs(int x)
{
    if(x<0)return -x;else return x;
}
int main()
{
    int i,j,k,l;
    int max;
    char s[20010];
    while(~scanf("%d %d %d",&x,&y,&z))
    {
        max=0;
        scanf("%s",&s);
        i=0;
        if(y<x)
        {
            h[0]=y;
            h[1]=x;
        }else
        {
            h[0]=x;
            h[1]=y;
        }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX