Search found 10 matches

by SoLtRiX
Wed Apr 16, 2003 12:03 am
Forum: Volume 103 (10300-10399)
Topic: 10364 - Square
Replies: 47
Views: 15429

yeah, i know that the output is the correct one. but i'm asking if there are any special case that i've to test, because i don't know why i'm getting WA. i don't like to post code, but i can't really understand what's wrong, so i'll post it in order to you check and try to tell me whats wrong. (And ...
by SoLtRiX
Tue Apr 15, 2003 12:56 am
Forum: Volume 103 (10300-10399)
Topic: 10364 - Square
Replies: 47
Views: 15429

10364 - WA

What should be the output to this input?
7
2 2 2
4 1 1 1 1
5 10 20 30 40 50
8 1 7 2 6 4 4 3 5
6 1 1 1 1 1 3
9 1 7 2 2 6 3 5 4 2
5 0 0 0 0 0

My output is:
no
yes
no
yes
no
yes
yes


Were is it wrong? there are any special cases?
Thanks
by SoLtRiX
Mon Apr 14, 2003 1:46 am
Forum: Volume 103 (10300-10399)
Topic: 10364 - Square
Replies: 47
Views: 15429

i understood the problem. i just can
by SoLtRiX
Mon Apr 14, 2003 12:42 am
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 12172

forget my post. i just read the old posts again and i tryed all the examples and i found some bugs that i've fixed and got AC.

thanks anyway for the ones that have posted here because i got AC only reading those posts
by SoLtRiX
Sun Apr 13, 2003 11:47 pm
Forum: Volume 103 (10300-10399)
Topic: 10352 - Count the eWords
Replies: 30
Views: 12172

10352

after reading all the posts, i still don't understand why i'm getting WA. i've tested the acm input and i've got the same output. can anyone tell me whats wrong with my code? [cpp] #include <iostream> #include <string> #include <map> #include <algorithm> #include <stdio.h> struct Estrut{ char inic[6...
by SoLtRiX
Tue Apr 08, 2003 2:44 am
Forum: Volume 7 (700-799)
Topic: 740 - Baudot Data Communication Code
Replies: 7
Views: 2681

Thanks, but i'm still getting WA. I have already submited that way and now i've submited again, but i'm still getting WA.
by SoLtRiX
Tue Apr 08, 2003 1:28 am
Forum: Volume 100 (10000-10099)
Topic: 10035 - Primary Arithmetic
Replies: 328
Views: 62387

there are no need to use strings. i use unsigned long long int and i've got AC.

be carefull width inputs width only one zero
123 0
0 2
by SoLtRiX
Tue Apr 08, 2003 12:26 am
Forum: Volume 101 (10100-10199)
Topic: 10106 - Product
Replies: 98
Views: 28496

i didn't take care of negative numbers and i've got AC. check you calculations, maybe the error is in there.
by SoLtRiX
Mon Apr 07, 2003 10:05 pm
Forum: Volume 7 (700-799)
Topic: 740 - Baudot Data Communication Code
Replies: 7
Views: 2681

740 - Baudot Data Communication Code

Cam someone send me some crucial input cases? I
by SoLtRiX
Tue Dec 03, 2002 1:19 am
Forum: Volume 3 (300-399)
Topic: 338 - Long Multiplication
Replies: 59
Views: 7909

338 - what's wrong whit this output??

12345
862
-----
24690
74070
98760
--------
10641390

100003
100010
------
100003
100003
-----------
10001300030

345
3455
----
1725
1725
1380
1035
-------
1191975

0
123456789
---------
0

2
324
---
8
4
6
---
648

0
234
---
0

Go to advanced search