Submit | All submissions | Best solutions | Back to list |
JH1 - Size Contest!!!Reloaded!! |
After seeing the popularity of the question size contest, Aradhya thought of adding its new version.
The problem statement is really simple. You are given 'n' and and then next n lines contain 'n' numbers.You have to calculate p and q.
'p' is the sum of numbers at even places ,but we add them only if they are positive.
'q' is the sum of numbers at odd places,but we add them only when they are negative.
Then you need to find the absolute value of p and q.
If p is greater than q or equal to q,then print "Some Mirrors Lie!". ( without quotes )
If q is greater than p, then print "Every Girl Lies!" ( without quotes )
Input
First line contains a integer t=number of test cases.
Then each test case contains a number n. and next line conatin 'n' numbers separated by a space.
1<=n<=100
and the numbers are less than 10^18
Output
A single line for each test case as described above.
Example
Input: 1
5
-1 2 -3 5 -4
Output:
Every Girl Lies!
Mind you--->The less your fingers work .The more you GAIN!!!
Note -- > Source Limit is made a little strict !!.. So chill out !!
Added by: | Aradhya |
Date: | 2012-06-29 |
Time limit: | 1s |
Source limit: | 250B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |
Resource: | Own Problem |
hide comments
|
|||||||
2013-11-11 14:54:45 Mosa Osama
:| Last edit: 2012-09-24 23:27:36 |
|||||||
2013-11-11 14:54:45 Mostafa 36a2
TLE !!!!!!!!! Last edit: 2012-09-03 20:20:48 |
|||||||
2013-11-11 14:54:45 Ravi Kumar
difficult in python...i can reduce upto 330 bytes |
|||||||
2013-11-11 14:54:45 Bijoy Prakash
This seems so straightforward. I am not sure where I am going wrong :( Getting WA again and again. Am I missing something? Submission ID: 7454465 |
|||||||
2013-11-11 14:54:45 Priyank
my code is of 234 bytes...still showing "too long" for my code --- RE--try to minimize unnecessary spaces in the code! Last edit: 2012-07-08 06:49:53 |
|||||||
2013-11-11 14:54:45 J
my code is 245bytes..still not letting me submit as my solution is 'too long' Edit: AC, with 240 Last edit: 2012-07-03 16:09:39 |
|||||||
2013-11-11 14:54:45 Aradhya
@numerix sir:: Sir now it is really a tough one :) Thanks sir :) Last edit: 2012-07-01 06:24:21 |
|||||||
2013-11-11 14:54:45 numerix
This problem shouldn't stay in challenge section. It is a really stupid problem. Just do what the description says and get your points. It should be moved to tutorial/partial section. If it stays here, at least the source limit should be stricter. 300 Bytes is ridiculous. According to the AC submissions 160 Bytes would be a good limit. Update: Source limit has been reduced to 250 Bytes. That is still too much. There are several AC solutions below 160 Bytes, even in C. As it's called "challenge", it really should be one. It still isn't. My opinion: Move it or remove it. ------ Re-- Ok sir i will do that :) Last edit: 2012-07-01 06:02:05 |
|||||||
2013-11-11 14:54:45 Meryovi
Doesn't seem possible in C# |
|||||||
2013-11-11 14:54:45 Aditya Pandey
@ loser plz check my soln. id: 7233381 m getting wa again and again :( --- RE-- try it without using any inbuilt function :) Last edit: 2012-06-29 14:25:20 |