mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
c9791a72c9
4500-4599
31 lines
572 B
C++
31 lines
572 B
C++
#include <stdio.h>
|
|
int main()
|
|
{
|
|
int t;
|
|
scanf("%d",&t);
|
|
while(t--)
|
|
{
|
|
int n;
|
|
scanf("%d",&n);
|
|
__int64 a,t = 0;
|
|
int flag = 1;
|
|
while(n--)
|
|
{
|
|
scanf("%I64d",&a);
|
|
if(flag)
|
|
{
|
|
t = a - t;
|
|
if(t<0)
|
|
{
|
|
flag = 0;
|
|
}
|
|
}
|
|
}
|
|
if(flag && !t)
|
|
printf("yeah~ I escaped ^_^\n");
|
|
else
|
|
printf("I will never go out T_T\n");
|
|
}
|
|
return 0;
|
|
}
|