Search found 2 matches

by kobe
Thu Aug 04, 2005 7:41 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117064

Sorry I found the problem finally

dut to
#define INT_MAX 0xFFFFFFFF

int minResult;
minResult=INT_MAX;

signed integer MAX=2147483647
the definition will cause conversion error :(
by kobe
Thu Aug 04, 2005 5:30 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117064

102 Compile Error, but no error when using VC/GCC/BCC .

I tried many ways, but still receive compile error
plz help, thx~


#include <cstdio>
#include <iostream>
#include <string>
#define BROWN 0
#define GREEN 1
#define CLEAR 2
#ifndef INT_MAX
#define INT_MAX 0xFFFFFFFFF
#endif

// UserID : 3931RL

using namespace std;

class Problem102{

private ...

Go to advanced search