QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#154793#7119. Longest Trippaul2008Compile Error//C++14149b2023-08-31 23:00:152023-08-31 23:00:15

Judging History

你现在查看的是测评时间为 2023-08-31 23:00:15 的历史记录

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

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)
      | ^~~~~~