Lang:G++
Edit12345678910111213141516171819202122232425262728293031#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;}