Search found 94 matches

by Sajid
Mon Mar 03, 2003 10:21 am
Forum: Other words
Topic: Return of the Aztecs: from the problemsetters' desk
Replies: 13
Views: 4157

thanx

ya, it was an eXcillent contest.

TOMAL, ADIL, SOHEL bhaiya, shobai-kei dhonnobad. :wink:
by Sajid
Mon Mar 03, 2003 10:10 am
Forum: Volume 103 (10300-10399)
Topic: 10394 - Twin Primes
Replies: 101
Views: 44509

10394

i got this WA. can any1 tell the some critical inputs?
by Sajid
Thu Feb 27, 2003 5:33 pm
Forum: Other words
Topic: Pascal, C, C++ or Java ? !!!
Replies: 19
Views: 5329

thanxxx

thanx fpnc..

you r really Grea8 helpful... :wink:
by Sajid
Wed Feb 26, 2003 4:06 am
Forum: Other words
Topic: Pascal, C, C++ or Java ? !!!
Replies: 19
Views: 5329

portability

Is .NET portable?
by Sajid
Tue Feb 25, 2003 2:46 pm
Forum: Volume 104 (10400-10499)
Topic: 10458 - Cricket Ranking
Replies: 5
Views: 3517

10458 - Cricket Ranking

I think, my program is ok. but it has a error msg TLE.... i have to do somthing for the less CPU time.

What can i do now????
by Sajid
Tue Feb 25, 2003 2:43 pm
Forum: Other words
Topic: Pascal, C, C++ or Java ? !!!
Replies: 19
Views: 5329

Thanx fpnc for ur reply.....

now, i want to know, how have we gained by solving problems in this site or any other programming contest? plzz, eXplain...
by Sajid
Tue Feb 25, 2003 2:11 am
Forum: Other words
Topic: Pascal, C, C++ or Java ? !!!
Replies: 19
Views: 5329

Thanx to u all, guys..

and what about the Real Life programming? what is prefferable?
by Sajid
Mon Feb 24, 2003 9:02 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 45850

turuthok wrote:Sajid, the input I mentioned above should be:

Code: Select all

abcde    fghij
-turuthok-
Turuthok,sorry, my code will not work with the above input..
sorry for that....

--- Sajid
by Sajid
Mon Feb 24, 2003 8:59 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 45850

sorry

To Nick,
Yes.. i m so sorry that my code has some bugs which i overlooked...

thanx nick.. :wink:
by Sajid
Sun Feb 23, 2003 8:43 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 45850

I think, u still cant get.. ok, lets compare the following two almost the same programs. Using gets()... [c]char a[100]; int i; while(gets(a)) { for(i=0;a ;i++) printf("%c",a ); printf("\n"); }[/c] Using scanf()... [c]char a[100],ch; int i; while(scanf("%s%c",a,&ch...
by Sajid
Sun Feb 23, 2003 8:18 pm
Forum: Other words
Topic: my compiler can't declare array more than 65536
Replies: 4
Views: 1633

Re

To, Nick...

Replace the following code...

[c]memset(num,0,sizeof(num));
[/c]

into the following...

[c]memset(num,0,strlen(num)-1);
[/c]
by Sajid
Sun Feb 23, 2003 2:20 pm
Forum: Other words
Topic: my compiler can't declare array more than 65536
Replies: 4
Views: 1633

Caesum wrote:...... there are 2 ways around it that I used to use:
1. Only use small arrays when testing, and a larger array for submission.
2. Allocate arrays with malloc.
Yes, these are the ways, I think.

And if you use Ms. VC++, you'll able to get all the properties of the UVA Judge Comliler.
by Sajid
Sun Feb 23, 2003 7:03 am
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 45850

turuthok, look ... [c]while(scanf("%s%c",a,&ch)==2) { } [/c] here, the single word is stroed in a[] and the next non-alphabet(digit, space, newline etc.) is stored in ch. and u can do the loop word by word and after completing each loop, jst print the ch variable.. which stored a non-a...
by Sajid
Sun Feb 23, 2003 12:00 am
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 55556

Check

It's so easy problem. Check your code ... debug it.
it's also easy to find out inputs and outputs for this problem. so, find some others inputs and calculate the output urself 1st.. then check with ur program...


Best of LUCK...
by Sajid
Sat Feb 22, 2003 11:40 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 45850

Hello turuthok, i failed to describe it,, i meant, instead of this code: [c]while(gets(a)) { ... ... .....printf("%c",a ); } printf("\n"); [/c] we can also use this... [c]while(scanf("%s%c",a,&ch)==2) { ... ... ... .....prinft("%c",a ); } printf("%c&...

Go to advanced search