## Search found 85 matches

- Fri Oct 25, 2002 9:50 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies:
**67** - Views:
**43843**

### 545 - Please, give me smb correct solution

Hi, everybody! I posted here earlier the same question, but I haven't accepted this problem yet. Please, if smb solved it, send it's solution to me to medv@roller.ukma.kiev.ua. What is the trick? I tried to send a lot of solutions: 1 Solution. I was told about errors at n=5 and n=6, so I wrote here ...

- Fri Aug 09, 2002 8:28 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies:
**67** - Views:
**43843**

### Nothing helps me with 545!!!

O-o-o How I tires of it! I tried it either in Pascal and in C, changed logarithm base system, even write the program that finds the solution without log and exp - straightforward, even I did rounding withount ROUND function - nothing helped me. I got WA! HEEELP! This is my last program : (* @JUDGE_I...

- Thu Aug 08, 2002 11:56 am
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies:
**67** - Views:
**43843**

### What answer is correct for n=5 and n = 6?

My answers are:

2^-6 = 1.563E-2

2^-5 = 3.125E-2

Are the correct?

If your 545 is accepted, send it for me to medv@roller.ukma.kiev.ua.

I tried a lot, but got WA. Help me, if you can.

Thank you.

2^-6 = 1.563E-2

2^-5 = 3.125E-2

Are the correct?

If your 545 is accepted, send it for me to medv@roller.ukma.kiev.ua.

I tried a lot, but got WA. Help me, if you can.

Thank you.

- Mon Aug 05, 2002 7:53 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10200 - Prime Time
- Replies:
**202** - Views:
**61292**

### 10200 I have WA

To my suprise my program says that there is no prime numbers among values n*n + n + 41 for 1000 < n < 9999. I think I am wrong when testing the primes.

Please, send me such n that 1000 < n < 9999 and the value n*n + n + 41 is prime.

Please, send me such n that 1000 < n < 9999 and the value n*n + n + 41 is prime.

- Mon Aug 05, 2002 7:37 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies:
**67** - Views:
**43843**

### 545 What's wrong in my program? (I get WA)

I think my program is correct, but I get WA. Help me, please. (* @JUDGE_ID: 4406RA 545 PASCAL "Simple calculation" *) program Heads_545; var c,n:integer; res:extended; begin readln(n); while (n > 0) do begin res := exp(-n * ln(2)); c := 0; while (res < 1) do begin res := res * 10; Inc(c); end; write...

- Sat Aug 03, 2002 9:51 pm
- Forum: Volume 5 (500-599)
- Topic: 527 - The partition of a cake
- Replies:
**11** - Views:
**1283**

### 527 - What is the idea?

Can smb tell me the idea of solving this task? (The partition of a cake)

- Wed Jul 31, 2002 1:17 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10324 - Zeros and Ones
- Replies:
**179** - Views:
**43520**

### 10324 Did anybody solve this problem (got accepted)?

10324 Is there anybody who solved this problem (got accepted)? I am tired to look for mistakes in my program. It seems to me work right. Please, if you got accepted this problem, send your solution for me to medv@roller.ukma.kiev.ua My program says WA: (* @JUDGE_ID: 4406RA 10324 PASCAL "string proce...

- Sat Jul 20, 2002 11:56 am
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies:
**156** - Views:
**34755**

### 727 Multi input didn't help me

Thank you, but it didn't help me Here is my program. I did multi input - but don't know how to read correctly - text of the problem says there only one input - one symbol in each line. Can you send me your solution? (* @JUDGE_ID: 4406RA 727 PASCAL "Grammatics" *) program Equation_727; var i:integer;...

- Sun Jul 14, 2002 3:48 pm
- Forum: Volume 7 (700-799)
- Topic: 727 - Equation
- Replies:
**156** - Views:
**34755**

### 727 - Equation

Help me, why do I get Wrong answer? (* @JUDGE_ID: 4406RA 727 PASCAL "Grammatics" *) program Equation_727; var i:integer; ch:char; procedure a; forward; procedure c; begin if (ch = '(') then begin readln(ch); a; readln(ch); end else begin write(ch); readln(ch); end; end; procedure b1; begin if (ch = ...

- Sun Jul 14, 2002 1:30 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10334 - Ray Through Glasses
- Replies:
**19** - Views:
**8591**

### 10334 - Ray Through Glasses

I tried a lot of times to solve the problem 10334 (I think it's easy - Fibonacci numbers). But I got wrong answer. I wrote a long arithmetic. Can somebody tell me why I get WA and what is the best way to write long arithmetic (I use Borland (Turbo) Pascal, the maximum type here is Longint). (* @JUDG...