
Search found 17 matches
- Fri Aug 13, 2004 10:39 pm
- Forum: Volume 7 (700-799)
- Topic: 713 - Adding Reversed Numbers
- Replies: 142
- Views: 60600
- Tue Aug 10, 2004 11:48 pm
- Forum: Off topic (General chit-chat)
- Topic: Roll Call: Operating System
- Replies: 9
- Views: 4879
- Tue Aug 10, 2004 11:43 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10327 - Flip Sort
- Replies: 81
- Views: 35320
- Sat Aug 07, 2004 8:59 pm
- Forum: Volume 4 (400-499)
- Topic: 408 - Uniform Generator
- Replies: 48
- Views: 9908
- Sat Aug 07, 2004 8:41 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116158
- Wed Aug 04, 2004 10:15 pm
- Forum: Volume 2 (200-299)
- Topic: 264 - Count on Cantor
- Replies: 47
- Views: 22392
- Sun Aug 01, 2004 9:50 pm
- Forum: C++
- Topic: strange compile error
- Replies: 11
- Views: 4471
- Sun Aug 01, 2004 11:07 am
- Forum: Volume 7 (700-799)
- Topic: 713 - Adding Reversed Numbers
- Replies: 142
- Views: 60600
- Sun Aug 01, 2004 10:34 am
- Forum: C++
- Topic: strange compile error
- Replies: 11
- Views: 4471
But there is a difference. Try to make this:Krzysztof Duleba wrote:gcc and g++ means the same for C++ files. gcc is smart enough to switch to g++ in such case, so there should be no difference.
Code: Select all
g++ Test.cc
- Sat Jul 31, 2004 7:27 pm
- Forum: Volume 7 (700-799)
- Topic: 713 - Adding Reversed Numbers
- Replies: 142
- Views: 60600
- Sat Jul 31, 2004 9:40 am
- Forum: Volume 105 (10500-10599)
- Topic: 10550 - Combination Lock
- Replies: 24
- Views: 26988
Re: 10550 -- WA
You should write the code like this:
[cpp]#include <iostream>
using namespace std;
/* code */
[/cpp]
1) there is no need to include stdio, if you use only cin and cout
2) declaration of iostream was wrong - but this cause only warning message
And the major problem, you calculate the output in ...
[cpp]#include <iostream>
using namespace std;
/* code */
[/cpp]
1) there is no need to include stdio, if you use only cin and cout
2) declaration of iostream was wrong - but this cause only warning message
And the major problem, you calculate the output in ...
- Sat Jul 31, 2004 9:23 am
- Forum: C++
- Topic: strange compile error
- Replies: 11
- Views: 4471
- Thu Jul 29, 2004 10:45 pm
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 38756
Re: 483 WA
I think this case error: size of a is 1 char only.oulongbin wrote:char *a;
a=new char;
- Thu Jul 29, 2004 10:27 pm
- Forum: Volume 4 (400-499)
- Topic: 495 - Fibonacci Freeze
- Replies: 222
- Views: 59845
Re: 495 HHHEEELLLPPPP!!!!
I wrote this code to solve the problem without strings. It works fine on my pc generating the correct output for all test cases as compared to the stringed program that got AC. However, the judge says WA. Can anyone help? Pretty please! :oops:
Maybe your problem is in function main() - it has ...
Maybe your problem is in function main() - it has ...
- Tue Jul 27, 2004 10:37 pm
- Forum: Volume 4 (400-499)
- Topic: 483 - Word Scramble
- Replies: 122
- Views: 38756