Last active
August 29, 2015 14:16
-
-
Save kamiyaowl/d108ad58161bd0487fff to your computer and use it in GitHub Desktop.
#俳句プログラミング http://pronama.azurewebsites.net/2015/02/26/haiku-programming-contest-2015/ ideoneで実行: http://shar.es/1WOhAD
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
// C# : @kamiya_owl | |
using System; using System.Linq; class Haiku { static void Main() { var haiku = @" | |
み か ふ | |
ず わ る | |
の ず い | |
お と け | |
と び や | |
こ | |
む | |
";var s = @"// C# : @kamiya_owl{2}{3}using System; using System.Linq; class Haiku {{ static void Main() {{ var haiku = @{1}{2}{3}{4}{1};var s = @{1}{0}{1}; Console.WriteLine(s, s, (char)0x22, (char)0xd, (char)0xa, haiku); }} }}"; Console.WriteLine(s, s, (char)0x22, (char)0xd, (char)0xa, haiku); } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment