1937 French Grand Prix

The 1937 French Grand Prix (formally the XXXI Grand Prix de l'Automobile Club de France) was a Grand Prix motor race which was held at Montlhéry, France on 4 July 1937. The race was held over 40 laps of the 12.5 km course for a total distance of 500 km. The race was won by Louis Chiron driving a Talbot. Similar to the 1936 race this year was run for sports cars. However, in order to help French manufacturers prepare for the new 1938 Grand Prix regulations, a 4.5L maximum engine capacity was imposed.[1]

1937 French Grand Prix
Race details
Date 4 July 1937
Official name XXXI Grand Prix de l'Automobile Club de France
Location Montlhéry, France
Course Autodrome de Linas-Montlhéry
Course length 12.50 km (7.767 mi)
Distance 40 laps, 500.0 km (310.7 mi)
Fastest lap
Driver Louis Chiron Talbot
Time 5:29.7
Podium
First Talbot
Second
  • Gianfranco Comotti
Talbot
Third Talbot

Classification

Pos No Driver Entrant Car Laps Time/Retired
1 12 Louis Chiron Automobiles Talbot Talbot 40 3h46m06.1
2 10 Gianfranco Comotti Automobiles Talbot Talbot 40 3h48m12.5
3 8 Albert Divo Automobiles Talbot Talbot 40 3h49m48.9
4 22 René Carrière Ecurie Bleue Delahaye 39 +1 lap
5 6 Raymond Sommer Automobiles Talbot Talbot 38 +2 laps
6 28 Eugène Chaboud
Jean Trémoulet
Eugène Chaboud Delahaye 33 +7 laps
DNF 30 Enaro Léoz Enaro Léoz Bugatti 25 Ignition
DNF 26 Daniel Porthault Danniell Delahaye 20 Cooling
DNF 20 / Laury Schell Ecurie Bleue Delahaye 15 Crashed
DNF 24 Louis Villeneuve Louis Villeneuve Delahaye 10 Fuel System
DNF 18 René Dreyfus Ecurie Bleue Delahaye 8 Engine
Sources:[1][2][3]

Fastest Lap: Louis Chiron, 5m29.7

gollark: - Checks if the available-items list already contains the item needed. If so, just return that.- If not, checks for recipes to do what is wanted- If one exists, iterate over them (not sure what to *do* with them)- If none exists, we can't do anything, so just return no tasks, no costs and no outputs.
gollark: ```rusttype Items = HashMap<ItemType, u32>;fn quantity(items: &Items, desired: &ItemType) -> u32 { if let Some(available_quantity) = items.get(desired) { *available_quantity } else { 0 }}fn contains(items: &Items, desired: &Item) -> bool { quantity(items, &to_item_type(desired)) >= desired.quantity}fn satisfies(available: &Items, desired: &Items) -> bool { for (typ, desired_quantity) in desired.iter() { if quantity(available, typ) < *desired_quantity { return false } } true}fn to_map(is: &Vec<Item>) -> Items { let out = HashMap::new(); for i in is.iter() { out.entry(to_item_type_clone(i)) .and_modify(|e| { *e += 1 }) .or_insert(0); } out}fn one_item(i: Item) -> Items { let out = HashMap::new(); out.insert(to_item_type(&i), i.quantity); out}#[derive(Debug, Deserialize, PartialEq, Eq, Serialize, Clone)]pub struct CraftingResult { pub tasks: Vec<Recipe>, pub costs: Items, pub outputs: Items}fn solve(desired: Item, available: Items, recipes: &MultiMap<ItemType, Recipe>) -> CraftingResult { if contains(&available, &desired) { // If our available items list already contains the desired item, yay, we can just do nothing return CraftingResult { tasks: vec![], costs: one_item(desired), outputs: one_item(desired) } } if let Some(recipes) = recipes.get_vec(&to_item_type(&desired)) { for recipe in recipes.iter() { let result = solve() // ??? } } else { CraftingResult { tasks: vec![], costs: HashMap::new(), outputs: HashMap::new() } }}```My code, or at least part of it.
gollark: That is NOT THE HARD PART.
gollark: (I'm still confused though)
gollark: People have already given helpful suggestions how to, soo...

References

  1. Hodges, David (1967). The French Grand Prix. p. 118-120.
  2. "1937 French Grand Prix". Motor Sport Magazine Database. Retrieved 2 January 2019.
  3. "Pre-war Races 1937". World Sports Racing Prototypes. Retrieved 4 January 2019.
Grand Prix Race
1937 Grand Prix season
Previous race:
1936 French Grand Prix
French Grand Prix Next race:
1938 French Grand Prix
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.