QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#460123#5531. ICCfryanCompile Error//C++20700b2024-07-01 02:21:212024-07-01 04:29:07

Judging History

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

  • [2024-07-01 04:29:07]
  • 管理员手动重测本题所有提交记录
  • [2024-07-01 02:21:22]
  • 评测
  • [2024-07-01 02:21:21]
  • 提交

answer

#include <algorithm>
#include <array>
#include <bitset>
#include <cassert>
#include <chrono>
#include <complex>
#include <cstdio>
#include <cstring>
#include <deque>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <numeric>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <vector>
#include "icc.h"
using namespace std;
#define int long long
#define all(x) begin(x), end(x)
#define sz(x) (int) (x).size()

void run() {
	cout << "hello world" << endl;
}

signed main() {
	ios::sync_with_stdio(false); cin.tie(nullptr);
	
	return 0;
}

Details

/usr/bin/ld: /tmp/ccHwOaR8.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccgwNic8.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccgwNic8.o: in function `main':
implementer.cpp:(.text.startup+0x17): undefined reference to `run'
collect2: error: ld returned 1 exit status