Search found 1 match

by ashiq2446
Thu Oct 08, 2015 10:03 pm
Forum: Volume 2 (200-299)
Topic: 253 - Cube painting
Replies: 28
Views: 17451

Re: 253 - Cube painting

i am not finding way out.getting WA.
here is my code-
#include<cstdio>
using namespace std;
int cop(char a1[6],char a2[6][7])
{
int a,b,c,d,e,f;
e=-1;
for(a=0;a<6;a++)
{
if(a1[0]==a2[a][0])
{
if(a1[1]==a2[a][1])
{
c=-1;
for(b=2;b<6;b++)
{
if(a1[2]==a2[a][b])
{
c=b;
d=2;
f=1;
while ...

Go to advanced search