Search found 13 matches

by Cahoun
Thu Feb 10, 2005 4:02 pm
Forum: Volume 3 (300-399)
Topic: 333 - Recognizing Good ISBNs
Replies: 166
Views: 20685

Very good method is using gets method to read whole line input not scanf(%s\n",st).
Then you remove preceded and additional spaces.
by Cahoun
Wed Feb 09, 2005 5:03 pm
Forum: Off topic (General chit-chat)
Topic: What happened to acm.timus.ru
Replies: 5
Views: 2805

WELCOME BACK http://ACM.TIMUS.RU !
by Cahoun
Mon Feb 07, 2005 10:31 pm
Forum: Other words
Topic: Donations
Replies: 2
Views: 1407

I havent donate any Euro because I havent any type of card. 10 Euros are not so much for donating this good system. But Is it some other type to donating money? Could I send some money by post office in letter? I missed some good help for donate money. And I think that many people look very often on...
by Cahoun
Thu Jan 27, 2005 2:11 pm
Forum: Other words
Topic: New leader!!!!!
Replies: 7
Views: 1915

Glory

Congratulations Wai. It is good to see fight about first-forth position. Very interesting. Free time is important for all solvers of ACM. :-?
by Cahoun
Wed Jan 19, 2005 11:15 am
Forum: Java
Topic: Mysterious Error "/tmp/ccFBRCxemain.i(.text+0x12):&quo
Replies: 2
Views: 2626

Maybe you forgot type JAVA in JUDGEID: as language in which you are programming.
by Cahoun
Tue Jan 11, 2005 9:52 pm
Forum: Pascal
Topic: Fornatting Decimal in Pascal
Replies: 3
Views: 7960

Or you can try as *luna* wrote :
I changed little bit.
x:=3.1245114411;
write(x:0:2); for 3.12
and
write(x:0:3); for 3.125
by Cahoun
Tue Jan 11, 2005 11:34 am
Forum: Other words
Topic: Some bad links on Problemset page
Replies: 4
Views: 1233

I dont know if anyone will help beginners and newcomers with section Howtos, because many of them dont know how to send problems.
I think it is very important problem!!!

Thanks for no answer. :evil:
by Cahoun
Fri Jan 07, 2005 5:23 pm
Forum: Other words
Topic: just a Q
Replies: 6
Views: 1427

i am using C. i've tried ""while (scanf("%d",&N) == 1) { printf("read %d\n",N); }"", but seems it doesn't work... even i input nothing and press enter, it doesn't stop. how to use feof (sdtin)?? i only how to use feof(file)... #include <stdio.h> int N; int main() { while (scanf("%d",&N)==1) { print...
by Cahoun
Fri Jan 07, 2005 1:22 pm
Forum: C
Topic: just a Q
Replies: 2
Views: 1990

Re: just a Q

ywceric wrote:as u see, the input method of most of the task are in many lines.
how can i know when the input ends?
Most of problems have end of input in specification. Very often is end of file as number 0(zero) or end of file. You have to check and control end of input in your program.
by Cahoun
Thu Jan 06, 2005 11:29 pm
Forum: C++
Topic: getline(cin, mystring); not working.......
Replies: 3
Views: 2147

Try change

Code: Select all

cout<<mystring; 
to

Code: Select all

cout<<mystring<<endl; 
by Cahoun
Thu Jan 06, 2005 11:25 pm
Forum: Other words
Topic: more input-output
Replies: 4
Views: 1555

Output/Input

I think that Input and Output are very good in test case on my opinion. Because we can practise more to test all problems because its very good training for catching the exceptions in Object programming. Because very much problems are try catch finally in real software appliacation. We cannot need t...
by Cahoun
Wed Jan 05, 2005 4:37 pm
Forum: Other words
Topic: Some bad links on Problemset page
Replies: 4
Views: 1233

Some bad links on Problemset page

I found some bad links on Problemset page http://acm.uva.es/problemset/ in section HOWTOs: Submit Submit by eMail Submit Pascal Submit Java OJ Answers Write Source Code I think that links are from old board. Could anybody(admin) change these links please? It's very good links for beginners and newco...
by Cahoun
Mon Jan 03, 2005 3:01 pm
Forum: Volume 4 (400-499)
Topic: 445 - Marvelous Mazes
Replies: 93
Views: 9928

445 - Nightmare

I spend 12 hours of my life to fix a mistake of this problem. I got every time Presentation Error. I solved this problem correctly. But I want Accepted answer not Presentation Error. I use method by array and spaces, ! and \n(new line) and every time I got only Presentation Error. I used 132 charact...

Go to advanced search