QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#623645 | #6110. Squirrel Game | lmy11 | WA | 0ms | 3704kb | C++20 | 583b | 2024-10-09 13:33:06 | 2024-10-09 13:33:08 |
Judging History
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'