CODE THANKS FESTIVAL 2018(Parallel)

Submission #3677910

Source codeソースコード

var
	a,b,t:Longint;
begin
	read(a,b);
	if a<b then begin
		t:=b;
		b:=a;
		a:=t;
	end;
	if (a-b)mod 2=1 then begin
		writeln('No');
		exit;
	end;
	t:=(a-b)div 2;
	dec(a,t*3);
	dec(b,t);
	if(a<0)or(b<0)or(a mod 4<>0)or(b mod 4<>0)then writeln('No')else writeln('Yes');
end.

Submission

Task問題 B - Colored Balls
User nameユーザ名 kotatsugame
Created time投稿日時
Language言語 Pascal (FPC 2.6.2)
Status状態 AC
Score得点 200
Source lengthソースコード長 291 Byte
File nameファイル名
Exec time実行時間 0 ms
Memory usageメモリ使用量 128 KB

Compiler messageコンパイルメッセージ

/usr/bin/ld.bfd: warning: ./link.res contains output sections; did you forget -T?

Test case

Set

Set name Score得点 / Max score Cases
Sample - s1.txt,s2.txt,s3.txt
All 200 / 200 01.txt,02.txt,03.txt,04.txt,05.txt,06.txt,07.txt,08.txt,09.txt,10.txt,11.txt,12.txt,13.txt,14.txt,15.txt,16.txt,s1.txt,s2.txt,s3.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
01.txt AC
02.txt AC
03.txt AC
04.txt AC
05.txt AC
06.txt AC
07.txt AC
08.txt AC
09.txt AC
10.txt AC
11.txt AC
12.txt AC
13.txt AC
14.txt AC
15.txt AC
16.txt AC
s1.txt AC
s2.txt AC
s3.txt AC