QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#154794#7119. Longest Trippaul2008Compile Error//C++14148b2023-08-31 23:01:092024-04-28 06:48:14

Judging History

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

  • [2024-04-28 06:48:14]
  • 管理员手动重测本题所有提交记录
  • [2023-08-31 23:01:09]
  • 评测
  • [2023-08-31 23:01:09]
  • 提交

answer

#include <bits/stdc++.h>
vector<int> longest_trip(int N, int D)
{
	vector <int> ans;
	for(int i=0;i<N;i++)
		ans.push_back(i);
	return ans;
}

Details

answer.code:2:1: error: ‘vector’ does not name a type
    2 | vector<int> longest_trip(int N, int D)
      | ^~~~~~