Search found 7 matches

by iceb3rg
Thu May 20, 2010 7:51 pm
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 49
Views: 8779

Re: WA 414 pls help

I just submitted my beautiful code to this stupid problem by only changing int to long and got ACCPETED...my my.....what the Hell UVa????? :O :O :O ....so much pain.....useless PAIN !
by iceb3rg
Sun May 16, 2010 11:15 am
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 49
Views: 8779

Re: WA 414 pls help

============================================================================================================ SOME CRITICAL INPUT OUTPUT PLEASE =========================================================================================================== There will be 'spaces' and 'zeros' ryt? or do the...
by iceb3rg
Sat May 15, 2010 9:08 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52632

WA: Any special test cases?

#include <stdio.h> #include <string.h> char name[100000]; int t; int save[100000]; int i,ans; int a=0; int chk(int t) { a=0; int rem=0; //scanf ("%d",&t); int num=0; for (i=0;name !='\0';i++) { while (1) { num=num*10; num+=name -48 ; if (num==0) break; //printf ("# num = %d i = %d\n",num,i); if (num...
by iceb3rg
Sat May 15, 2010 1:56 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 52632

Re:

[c].... .............. ........... ............... my output ========== This is Leap year. This is Leap year. This is huluculu festival year. This is huluculu festival year. This is ordinary year. This is Leap year. This is buluculu festival year. This is ordinary year. This is Leap year. This is b...
by iceb3rg
Sun Apr 25, 2010 3:01 pm
Forum: Volume 116 (11600-11699)
Topic: 11650 - Mirror Clock
Replies: 15
Views: 2821

I've tried almost all d cases

Hi, I have tried the possible 780 test cases and checked it with UVA toolkit. My test cases were from: 00:00 > 12:59 (780 in total) Unfortunately all the cases has matched with UVA toolkit but I am yet to get "Accepted" :( :( .... here's my code....help me out soon ==================================...
by iceb3rg
Sat Apr 24, 2010 4:15 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 19249

Re: 490 - Rotating Sentences

Hi, first of all with this problem I was confused about how to take the inputs. Finally I made up my mind to take all the inputs uptill the end of the file and then print them in the sequential manner told. However, after doing so, I am getting WA.... Help me out here.... here's my code: #include <s...
by iceb3rg
Mon Jul 13, 2009 11:35 am
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 38478

Love Calc 10424...TLE

here's my code..... 2 reduce time....i ommitted <ctype.h> and usage of while loops: ======================================================================================= #include <stdio.h> int x; int func(int i) { int r,q,result=0; for (;i!=0;) { r=i%10; result+=r; i=i/10; } if (result>9) return f...

Go to advanced search