QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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;
}
详细
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'