World Cup group stage: Difference between revisions
m
→{{header|Wren}}: Minor tidy
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Wren}}: Minor tidy) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 500:
=={{header|Elena}}==
{{trans|Java}}
ELENA
<syntaxhighlight
import extensions;
Line 521:
}
{
var points := IntMatrix.allocate(4, 10);
Line 530:
var records := new int[]{0,0,0,0};
for(int i := 0
{
var r := results[i];
Line 544:
records := records.ascendant();
for(int i := 0
{
points[i][records[i]] := points[i][records[i]] + 1
Line 1,710:
{{libheader|Wren-fmt}}
{{libheader|Wren-sort}}
<syntaxhighlight lang="
import "./sort" for Sort
var games = ["12", "13", "14", "23", "24", "34"]
|