This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace lloc\changelog; | |
/** | |
* Class ArrayOutput | |
* @package lloc\changelog | |
*/ | |
class ArrayOutput { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace lloc\tournament; | |
/** | |
* Class RoundRobin | |
* | |
* @package lloc\tournament | |
*/ | |
class RoundRobin { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function getRoundRobinTable ($n) { | |
$result = array (); | |
if ($n % 2 == 0) { | |
for ($r = 0; $r < $n - 1; $r++) { | |
for ($i = 0; $i < $n / 2; $i++) { | |
$result[$r][] = array ( | |
($i == 0 ? 0 : ($r + $i) % ($n - 1) + 1), | |
($n - 1 + $r - $i) % ($n - 1) + 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd /usr/lib/vice | |
mkdir temp | |
cd temp | |
wget http://www.zimmers.net/anonftp/pub/cbm/crossplatform/emulators/VICE/vice-2.4.tar.gz | |
tar vzxf vice-2.4.tar.gz | |
# Copy the C64-specific system ROMs | |
cd /usr/lib/vice/temp/vice-2.4/data/C64/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write: / 'Merry Christmas'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
println!("Merry Christmas"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MerryChristmas { | |
public static void main(String[] args) { | |
System.out.println("Merry Christmas"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Merry Christmas") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Merry Christmas"; | |
return 0; | |
} |