QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#623645#6110. Squirrel Gamelmy11WA 0ms3704kbC++20583b2024-10-09 13:33:062024-10-09 13:33:08

Judging History

你现在查看的是最新测评结果

  • [2024-10-09 13:33:08]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3704kb
  • [2024-10-09 13:33:06]
  • 提交

answer

#define lmy11 LlEBE
/*using in codeforces*/
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define int long long
template<class T>using pq = priority_queue<T>;
template<class T>using pqg = priority_queue<T, vector<T>, greater<T>>;
void solve()
{
	int n1,m1,k1;
	int n2,m2,k2;
	cin>>n1>>m1>>k1;
	cin>>n2>>m2>>k2;
	if(n1+m1+k1>=m2+n2+k2)
	cout<<"Nova"<<endl;
	else
	cout<<"Twinkle"<<endl;
}
signed main()
{
	ios::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int T;
	T=1;
	while(T--)solve();
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3704kb

input:

7 3 2
1 4 7

output:

Nova

result:

ok single line: 'Nova'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

7 3 1
1 4 7

output:

Twinkle

result:

ok single line: 'Twinkle'

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 3664kb

input:

1 1 1
1

output:

Twinkle

result:

wrong answer 1st lines differ - expected: 'Nova', found: 'Twinkle'