what reasult should be for that ??
4
1 1.01 1
1 1 1
1 1 1
1 1 1
my prog write:
1 3 1 3 1
is this right ??
Search found 27 matches
- Thu Mar 11, 2004 10:52 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37565
- Thu Mar 11, 2004 7:34 am
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37565
- Wed Mar 10, 2004 8:02 pm
- Forum: Volume 1 (100-199)
- Topic: 104 - Arbitrage
- Replies: 223
- Views: 37565
104 - Arbitrage (allways WA)
plz help :). i created quite complicated algorithm for this problem. its works in O(n^4). im sure its good, but i got WA. i was trying change floating size (float,double,long double,long long double) but it is'nt help.
if you have some test cases plz show it (i tryed forum's cases) or show something ...
if you have some test cases plz show it (i tryed forum's cases) or show something ...
- Mon Mar 08, 2004 11:25 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468
- Mon Mar 08, 2004 7:57 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468
138 - Steet numbers
I need help from people's whos have linux and same compiler like OJ. plz write output for this program, becouse i get that output on my win98 with devc++(orginal compiler):
[output removed]
And there is code:
Best Regards Rav
[output removed]
And there is code:
Code: Select all
code removed by Jan
- Mon Aug 25, 2003 10:37 am
- Forum: Volume 3 (300-399)
- Topic: 306 - Cipher
- Replies: 74
- Views: 31443
- Wed Aug 13, 2003 10:02 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 41017
- Tue Aug 12, 2003 11:27 am
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 41017
- Mon Aug 11, 2003 11:15 pm
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 41017
- Mon Aug 11, 2003 7:55 pm
- Forum: Volume 3 (300-399)
- Topic: 333 - Recognizing Good ISBNs
- Replies: 166
- Views: 41017
valid characters
could you tell me what character is valid.
if i good understand valid ISBN:
1) must have 10 digit or X
2) may contain hyphens( - ) somwhere like this --------------0-89237-010-6
do ( _ ) is hyphen too ?
3) may contain X somwhere (however hisoka spoke that only on 10th is this right ?)
4) end at \n ...
if i good understand valid ISBN:
1) must have 10 digit or X
2) may contain hyphens( - ) somwhere like this --------------0-89237-010-6
do ( _ ) is hyphen too ?
3) may contain X somwhere (however hisoka spoke that only on 10th is this right ?)
4) end at \n ...
- Mon Aug 11, 2003 12:56 pm
- Forum: Volume 3 (300-399)
- Topic: 332 - Rational Numbers from Repeating Fractions
- Replies: 83
- Views: 34441
332 - precision problem
could somebody tells my how use better precison in this problese. i got TLE but my prog and algorithm work fine, but somthing w precision. Please help.
Here is my source code C++
[cpp]
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <iostream>
using ...
Here is my source code C++
[cpp]
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <iostream>
using ...
- Mon Aug 04, 2003 4:17 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468
- Thu Jul 24, 2003 7:33 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468
- Thu Jul 24, 2003 7:26 am
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468
- Wed Jul 23, 2003 7:52 pm
- Forum: Volume 1 (100-199)
- Topic: 138 - Street Numbers
- Replies: 93
- Views: 21468