Search found 51 matches
- Thu Apr 06, 2006 8:16 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 8514
- Mon Apr 03, 2006 11:06 pm
- Forum: Volume 3 (300-399)
- Topic: 338 - Long Multiplication
- Replies: 59
- Views: 8514
338 - long multiplication
hello, i am trying to solve problem 338, waing constantly but dont know why. can someone please give output to this or any tricky case: INPUT 1023348159 962698720 1591033635 1979648441 1533525686 1107769036 1006769035 55068821 1807357916 1946018644 1003136356 566904648 1286287109 2066997517 62523646...
- Thu Mar 23, 2006 9:15 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 211939
- Wed Mar 22, 2006 9:53 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 211939
- Wed Mar 22, 2006 5:56 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 96182
However, the compile error lies in the use of the abs function. I suggest you explicitly cast the expression you pass to the abs function to a double, and then you cast the value returned from abs back to int. Alternatively, as a workaround, #include math.h instead of cmath. int abs() is declared i...