QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#276892#7887. How to Identify My NamewsyearCompile Error//C++14712b2023-12-06 12:21:572023-12-06 12:21:58

Judging History

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

  • [2023-12-06 12:21:58]
  • 评测
  • [2023-12-06 12:21:57]
  • 提交

answer

#include <bits/stdc++.h>
#ifdef dbg
#define D(...) fprintf(stderr, __VA_ARGS__)
#define DD(...) D(#__VA_ARGS__ " = "), debug_helper::debug(__VA_ARGS__), D("\n")
#include "C:\Users\wsyear\Desktop\OI\templates\debug.hpp"
#else
#define D(...) ((void)0)
#define DD(...) ((void)0)
#endif
#define rep(i, j, k) for (int i = (j); i <= (k); ++i)
#define per(i, j, k) for (int i = (j); i >= (k); --i)
#define SZ(v) int((v).size())
#define ALL(v) (v).begin(),(v).end()
#define fi first
#define se second
using ll = long long;
using pii = std::pair<int, int>;
using pll = std::pair<ll, ll>;

using namespace std;

int main() {
  cin.tie(nullptr) -> ios::sync_with_stdio(false);
  cout << "BAGIDNJF"
}

详细

answer.code: In function ‘int main()’:
answer.code:24:21: error: expected ‘;’ before ‘}’ token
   24 |   cout << "BAGIDNJF"
      |                     ^
      |                     ;
   25 | }
      | ~