Commit graph

63 commits

Author SHA1 Message Date
Geoffrey Frogeye e174125024 Exchange between warehouses 2016-02-16 23:48:59 +01:00
Geoffrey Frogeye f7246fa3b7 Cache unsatisfied clients 2016-02-16 20:30:10 +01:00
Geoffrey Frogeye 8f1970c127 Basic multi-warehouse support 2016-02-13 20:12:03 +01:00
Geoffrey Frogeye 7f9a034fd5 Fixed regressions?
The fact that calculated score differs from offical score
really starts to annoy me
2016-02-13 18:54:19 +01:00
Geoffrey Frogeye 9b5920eedb Fixed regressions
But not better.

Note to myself: when sorting different options by efficiency,
don't take the WORST one...
2016-02-13 18:51:47 +01:00
Geoffrey Frogeye 3509d21856 Choose the best option based on efficiency
Regression...
2016-02-13 18:22:16 +01:00
Geoffrey Frogeye 13b0a4d054 Check if it's better to return home 2016-02-13 17:59:31 +01:00
Geoffrey Frogeye 84e72a46c8 Sometimes submission.zip went into submission.zip
Okay, that's an horrible hack. I know
2016-02-13 17:41:01 +01:00
Geoffrey Frogeye 0d8cd171bb Tries 3 different clients 2016-02-13 17:40:19 +01:00
Geoffrey Frogeye 6bd43ed2ad Let everyone finish their tasks 2016-02-13 17:24:47 +01:00
Geoffrey Frogeye d3039918ea Sometimes travel to other clients 2016-02-13 17:16:33 +01:00
Geoffrey Frogeye 3041f78531 git gc before making submission
It DOES matter on this very slow connection.
2016-02-13 16:50:39 +01:00
Geoffrey Frogeye 2a52ef67c2 Closer score calculation
I realized it wasn't it after what I said in the
previous commit. Yet still not exact (±1 pt with
actual score). We'll say that's because of floating
point errors :)
2016-02-13 16:48:53 +01:00
Geoffrey Frogeye dd206307b9 Preparation for multiple stop trips
Nothing should have changed in the results, yet
it won three points. Oh well...
2016-02-13 16:43:54 +01:00
Geoffrey Frogeye f25aca1c31 Load&Unload by sets 2016-02-13 15:54:35 +01:00
Geoffrey Frogeye 726474abb9 Deliver everyone 2016-02-13 15:36:44 +01:00
Geoffrey Frogeye f31e6e74c8 Only deliver reasonable clients 2016-02-13 14:09:31 +01:00
Geoffrey Frogeye 1c5f23d624 Fill drones 2016-02-13 14:07:13 +01:00
Geoffrey Frogeye 3da2b36465 No data set output in source... 2016-02-13 13:45:42 +01:00
Geoffrey Frogeye 6da3a76ca5 Drone task list 2016-02-13 13:44:19 +01:00
Geoffrey Frogeye 8728346ace Find nearest 2016-02-13 13:09:14 +01:00
Geoffrey Frogeye 04dcd605b0 Reborn: Makefile 2016-02-13 12:55:50 +01:00
Geoffrey Frogeye db9496f4b1 Reborn: Functionnal 2016-02-13 12:54:59 +01:00
Geoffrey Frogeye ab2d199d04 Extended run preparation 2016-02-12 17:44:38 +01:00
Geoffrey Frogeye 01a7f8405d Scores added
That'll be enough for tonight.

Note that we got 213338 with the following runs
1: 8T/10
2: 8T/10
3: T/2

And we would have been 311 instead of 662 with
very few modifications
2016-02-11 23:35:05 +01:00
Geoffrey Frogeye d30396c471 DEADLINE STRESS YOLO 2016-02-11 22:27:01 +01:00
Geoffrey Frogeye 128f6100b8 typo 2016-02-11 21:45:48 +01:00
Geoffrey Frogeye 18070e0fb8 Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 21:45:20 +01:00
Geoffrey Frogeye ebaf8101d9 List drone items 2016-02-11 21:44:56 +01:00
JLo'w 12b8943514 Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 21:43:42 +01:00
JLo'w 90e6087478 SortCustomer() and WarehouseHasItems() functions 2016-02-11 21:43:28 +01:00
Geoffrey Frogeye df1f75c876 Nearest warehouse 2016-02-11 21:40:06 +01:00
Geoffrey Frogeye 042f668374 FLY LITTLE MONSTERS! 2016-02-11 21:35:07 +01:00
Geoffrey Frogeye b2f1c7319f List needs 2016-02-11 21:34:31 +01:00
Geoffrey Frogeye ae14fe0301 Fully functionnal I guess 2016-02-11 21:24:25 +01:00
Geoffrey Frogeye 3fc03d19c2 Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 21:06:36 +01:00
Geoffrey Frogeye ebe6c19628 New makefile. Makes everything 2016-02-11 21:04:34 +01:00
Geoffrey Frogeye f0de43a61d Now functionnal 2016-02-11 21:00:42 +01:00
JLo'w 5621b6385b I said ALL 2016-02-11 20:59:22 +01:00
JLo'w 8a19a859d8 All indices start at 0 -_- 2016-02-11 20:58:52 +01:00
JLo'w e71771d48d Add write of drone command to out. 2016-02-11 20:55:22 +01:00
Geoffrey Frogeye c56e442d29 Almost functionnal 2016-02-11 20:48:54 +01:00
Geoffrey Frogeye 0fefade86b Merge stuff 2016-02-11 20:38:29 +01:00
Geoffrey Frogeye 8a58caa99e Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 20:36:47 +01:00
Geoffrey Frogeye d256e9ec50 Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 20:36:41 +01:00
JLo'w 0950449296 Out write 2016-02-11 20:35:35 +01:00
Geoffrey Frogeye 8bf8936e35 Read into main 2016-02-11 20:35:07 +01:00
JLo'w 4958ce6f7b Global variable Out and CreateOutFile() function 2016-02-11 20:32:08 +01:00
Geoffrey Frogeye 32278e7461 Merge branch 'master' of github.com:GeoffreyFrogeye/hashcode2016 2016-02-11 20:10:26 +01:00
Geoffrey Frogeye b73e39775a Bit of debug 2016-02-11 20:10:18 +01:00