QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#384906 | #6835. A Hero Named Magnus | wandw | WA | 0ms | 3556kb | C++17 | 335b | 2024-04-10 13:43:37 | 2024-04-10 13:43:37 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
void solve()
{
int x;
cin>>x;
cout<<2ll*x-1;
}
signed main()
{
cin.tie(0);
cout.tie(0);
ios_base::sync_with_stdio(0);
int t;
cin>>t;
while(t--)
solve();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3556kb
input:
2 1 3
output:
15
result:
wrong answer 1st lines differ - expected: '1', found: '15'