mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
update instructions to mention summing
Signed-off-by: Diego Moura <diegoo.demoura@gmail.com> Co-authored-by: Jamie Klassen <jamie.klassen@broadcom.com>
This commit is contained in:
parent
88b583f2bb
commit
1a81f21756
|
@ -4,10 +4,10 @@
|
||||||
// the form : "<team_1_name>,<team_2_name>,<team_1_goals>,<team_2_goals>"
|
// the form : "<team_1_name>,<team_2_name>,<team_1_goals>,<team_2_goals>"
|
||||||
// Example: England,France,4,2 (England scored 4 goals, France 2).
|
// Example: England,France,4,2 (England scored 4 goals, France 2).
|
||||||
//
|
//
|
||||||
// You have to build a scores table containing the name of the team, goals the
|
// You have to build a scores table containing the name of the team, goals
|
||||||
// team scored, and goals the team conceded. One approach to build the scores
|
// the team scored, and goals the team conceded over the entire list of matches.
|
||||||
// table is to use a Hashmap. The solution is partially written to use a
|
// One approach to build the scores table is to use a Hashmap. The solution is
|
||||||
// Hashmap, complete it to pass the test.
|
// partially written to use a Hashmap, complete it to pass the test.
|
||||||
//
|
//
|
||||||
// Make me pass the tests!
|
// Make me pass the tests!
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue