QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#384903#6835. A Hero Named MagnuswandwWA 0ms3664kbC++17296b2024-04-10 13:42:282024-04-10 13:42:28

Judging History

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

  • [2024-04-10 13:42:28]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3664kb
  • [2024-04-10 13:42:28]
  • 提交

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);

      solve();
    return 0;
}

詳細信息

Test #1:

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

input:

2
1
3

output:

3

result:

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