In Windows, I use MinGW as command line compiler. which is almost identical as gcc in Linux (It has a little bug on printf("%lld")).
Dev C++ is a good IDE in Windows, which is free and small in size. And it is also based on MinGW.
Search found 215 matches
- Thu Sep 14, 2006 4:55 am
- Forum: Volume 106 (10600-10699)
- Topic: 10690 - Expression Again
- Replies: 23
- Views: 10770
- Sat Sep 09, 2006 5:29 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10690 - Expression Again
- Replies: 23
- Views: 10770
- Thu Sep 07, 2006 1:21 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10664 - Luggage
- Replies: 20
- Views: 14497
- Thu Sep 07, 2006 11:23 am
- Forum: Volume 106 (10600-10699)
- Topic: 10664 - Luggage
- Replies: 20
- Views: 14497
Why NO for empty line. If there is nothing to load, two boots certainly load the same weight, 0.Eduard wrote:InputOutputCode: Select all
1 <-----Blank line
Code: Select all
NO
By the way, what means "1
- Mon Aug 28, 2006 11:01 am
- Forum: Volume 106 (10600-10699)
- Topic: 10690 - Expression Again
- Replies: 23
- Views: 10770
- Sun Aug 27, 2006 10:21 am
- Forum: Volume 106 (10600-10699)
- Topic: 10690 - Expression Again
- Replies: 23
- Views: 10770
10690
To maximize the expression, I think I should divide the numbers into two parts and make their difference minimum. But how to do it? Some one says DP. But I still have no idea how to DP. Who can give more hints.
- Thu Aug 17, 2006 11:19 am
- Forum: C++
- Topic: Why compile error?
- Replies: 2
- Views: 1722
- Thu Aug 17, 2006 10:42 am
- Forum: C++
- Topic: Why compile error?
- Replies: 2
- Views: 1722
Why compile error?
#include <iostream> #include <string> #include <map> #include <cctype> using namespace std; map<string, int> g_dict; int main() { string strIn; while (cin >> strIn) { string temp; for(int i = 0; i < strIn.size(); i++) { temp += (char)tolower(strIn[i]); if (!isalpha(temp[i])) { temp[i] = ' '; } } st...
- Wed Jul 26, 2006 3:26 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11052 - Economic phone calls
- Replies: 26
- Views: 11934
- Wed Jul 26, 2006 2:56 pm
- Forum: Volume 110 (11000-11099)
- Topic: 11052 - Economic phone calls
- Replies: 26
- Views: 11934
11052 - Economic phone calls
I find the offical I/O, and for this input:
The output is:
But I think the output should be "2". The first or the second log must be kept, otherwise the third log will come to the current year.
Code: Select all
3
06:06:05:06 641037712 -
04:13:06:36 17 -
10:25:14:37 793127405919586 +
Code: Select all
1
- Sun May 28, 2006 3:31 pm
- Forum: Java
- Topic: Why does all the clone() method return Object type?
- Replies: 4
- Views: 3667
- Sat May 27, 2006 9:29 am
- Forum: Java
- Topic: Why does all the clone() method return Object type?
- Replies: 4
- Views: 3667
- Sat May 27, 2006 8:15 am
- Forum: Java
- Topic: Why does all the clone() method return Object type?
- Replies: 4
- Views: 3667
Why does all the clone() method return Object type?
As I know, every clone() method provided by JDK returns Object. Why don't they return explicit type? I have to convert the type every time I use their clone().
What's the benefit of returning Object?
What's the benefit of returning Object?
- Sat May 27, 2006 5:43 am
- Forum: Java
- Topic: Why does this code get warning?
- Replies: 10
- Views: 5872