君はまるで砂漠に咲く、一輪の花。

僕はその花に引き寄せられる蝶。

April Fools Day Contest 2014

はい。
http://codeforces.com/contest/409

A. The Great Game

ざっくりと大意

・1行目と2行目の勝敗の判定をする。

  PyPy3  

a=input()
b=input()
ans=chk=0
for i in range(1,len(a),2):
    o,t=a[i-1]+a[i],b[i-1]+b[i]
    if (o=='8<' and t=='[]') or (o=='[]' and t=='()') or (o=='()' and t=='8<'):
        ans+=1
    elif t!=o:
        chk+=1
print('TEAM 2 WINS' if chk>ans else 'TEAM 1 WINS' if ans>chk else 'TIE')

文字列はジャンケンですね。8<がチョキ、[]がパー、()がグー。

B. Mysterious Language

ざっくりと大意

・正体不明の言語をCUSTOM INVOCATIONで動作試してエラーとかから言語を特定して言語名を出力する。

FORTRAN

      program hello
      print *,'FORTRAN 77'
      end program hello

1行目からインデント必須っぽい。。なぜだ。。

H. A + B Strikes Back

ざっくりと大意

・A + Bをする。

Python2

a,b=map(int,raw_input().split())
print a+b

C++

#include<iostream>
#include<cmath>
#include<string>
#include<cctype>
#include<vector>
#include<numeric>
#include<algorithm>
using namespace std;

int main(){
        double pai=3.141592653589;
    int a,b;
    scanf("%d %d",&x,&y);
    printf("%d\n",x+y);
    return 0;
}

2014/11/05現在でも提出5回目まではジャッジされないし、コンパイルもしてもらえないっぽい。エイプリルフール仕様で複数回提出しないとジャッジが機能しない。