hey cormac look below:
the problem said for the last test case should be: 0 0
but the judge data has no input like 0 0
now for this coding technique you will get wa in this problem
#include<stdio.h>
int main()
{ long i,n,q;
char c;
while(scanf("%ld%ld",&n,&q)==2)
{ if(n==0&&q==0)
break;
for(i ...
Search found 22 matches
- Fri Oct 05, 2007 10:06 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 9:47 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 9:33 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 9:24 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 9:02 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
AND THERE IS NO CASE LIKE
SO YOU WILL GET WA IF YOU CHECK 0 0 CONDITION THOUGH THE PROBLEM SAYS THAT
ITS REALLY RIDICULUS
Code: Select all
0 0
ITS REALLY RIDICULUS
- Fri Oct 05, 2007 8:56 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
IS THIS A JUDGE SYSTEM(!!!!!!!!!!!!!!)
YOU ARE RIGHT CORMAC
I GOT AC USING THIS CODE ALSO
this is really pathetic...........
YOU ARE RIGHT CORMAC
I GOT AC USING THIS CODE ALSO
Code: Select all
#include<stdio.h>
int main()
{
printf("1h 2h 3w 4h 5h 6h 7h 8h 9h\n");
return 0;
}
- Fri Oct 05, 2007 8:39 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 8:29 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
thnx cormac for reply
this is the link of that code:
http://plg.uwaterloo.ca/~acm00/070929/data/wedding.c
it got ac in UVA but result "bad luck" for the test case...
i will remove the link after your message....
best regards
tanvir
this is the link of that code:
http://plg.uwaterloo.ca/~acm00/070929/data/wedding.c
it got ac in UVA but result "bad luck" for the test case...
i will remove the link after your message....
best regards
tanvir
- Fri Oct 05, 2007 6:08 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Fri Oct 05, 2007 3:04 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
- Thu Oct 04, 2007 11:25 am
- Forum: Volume 112 (11200-11299)
- Topic: 11294 - Wedding
- Replies: 21
- Views: 11536
11294 - Wedding
can someone post some I/O for this problem. Im getting wa several times. 

- Mon Oct 01, 2007 10:37 am
- Forum: Volume 112 (11200-11299)
- Topic: 11291 - Smeech
- Replies: 8
- Views: 4271
- Mon Oct 01, 2007 7:17 am
- Forum: Volume 112 (11200-11299)
- Topic: 11291 - Smeech
- Replies: 8
- Views: 4271
sorry i was not considering the negetive numbers there...
but now im considering the negetive numbers here....
but also wa wa wa
can any one check the code or give sample input output....
regard
tanvir
but now im considering the negetive numbers here....
but also wa wa wa

can any one check the code or give sample input output....
Code: Select all
cut aft ac
tanvir
- Sun Sep 30, 2007 10:25 am
- Forum: Volume 112 (11200-11299)
- Topic: 11291 - Smeech
- Replies: 8
- Views: 4271
- Sun Jul 15, 2007 12:49 am
- Forum: Volume 112 (11200-11299)
- Topic: 11221 - Magic square palindromes.
- Replies: 58
- Views: 30412
look a bit more carefully?
what was the reason to write this line:
why u r comparing n with 6??????
hope it helps
tanvir
what was the reason to write this line:
Code: Select all
if(n==6){k++;n=1;}
hope it helps

tanvir