Submission #589096


Source Code Expand

n,s,f,a;
main(i){
	scanf("%d",&n);
	for(i=s=0;i<n;s+=a){
		scanf("%d",&a);
		f=i++?f:a;
	}
	n=puts(n*f*2>s?"Pass":"Fail");
}

Submission Info

Submission Time
Task A - もし解けなかったら木の下に埋めて貰っても構わないよ
User musasabi
Language C++ (GCC 4.9.2)
Score 0
Code Size 132 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: ‘n’ does not name a type
 n,s,f,a;
 ^
./Main.cpp:2:5: error: expected constructor, destructor, or type conversion before ‘(’ token
 main(i){
     ^