QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384906#6835. A Hero Named MagnuswandwWA 0ms3556kbC++17335b2024-04-10 13:43:372024-04-10 13:43:37

Judging History

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

  • [2024-04-10 13:43:37]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3556kb
  • [2024-04-10 13:43:37]
  • 提交

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'