QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#188177#5483. Class Field Triptriplem5ds#Compile Error//C++231.0kb2023-09-25 16:18:332023-09-25 16:18:34

Judging History

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

  • [2023-09-25 16:18:34]
  • 评测
  • [2023-09-25 16:18:33]
  • 提交

answer

/// Msaa el 5ra
#pragma GCC optimize("O3")
#pragma GCC optimize ("unroll-loops")
#pragma GCC target("avx,avx2,fma")

#include "bits/stdc++.h"

using namespace std;

#define pb push_back
#define F first
#define S second
#define f(i, a, b)  for(int i = a; i < b; i++)
#define all(a)  a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) (int)(x).size()
#define mp(x, y) make_pair(x,y)
#define popCnt(x) (__builtin_popcountll(x))
#define int ll

using ll = long long;
using ii = pair<int, int>;
using ull = unsigned long long;

const int N = 5e5 + 5, LG = 18, MOD = 1e9 + 7;
const long double PI = acos(-1);
const long double EPS = 1e-7;
int n, m;
int go[1005];
int ans[105];

void doWork() {
    string s1, s2;
    cin >> s1 >> s2;
    s1 += s2;
    sort(all(s1));
    cout << w1 << '\n';
}

int32_t main() {
#ifdef ONLINE_JUDGE
    ios_base::sync_with_stdio(0);
    cin.tie(0);
#endif // ONLINE_JUDGE

    int t = 1;
//    cin >> t;
    while (t--) {
        doWork();
    }
}

詳細信息

answer.code: In function ‘void doWork()’:
answer.code:37:13: error: ‘w1’ was not declared in this scope; did you mean ‘s1’?
   37 |     cout << w1 << '\n';
      |             ^~
      |             s1