QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384896#6835. A Hero Named MagnuswandwWA 0ms3644kbC++17296b2024-04-10 13:39:022024-04-10 13:39:03

Judging History

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

  • [2024-04-10 13:39:03]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3644kb
  • [2024-04-10 13:39:02]
  • 提交

answer

#include<bits/stdc++.h>
 using namespace std;
//#define int long long
#define ll long long
 
    void solve()
 {
     int x;
     cin>>x;
     cout<<2*x-1;

 }
signed main()
{
    cin.tie(0);
    cout.tie(0);
    ios_base::sync_with_stdio(0);

      solve();
    return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3644kb

input:

2
1
3

output:

3

result:

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