QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#125583#90. Fishing GameQwerty1232Compile Error//C++20212b2023-07-16 22:28:102023-07-16 22:28:12

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-16 22:28:12]
  • 评测
  • [2023-07-16 22:28:10]
  • 提交

answer

#include <bits/stdc++.h>

//#include "permutation.h"

std::mt19937 rnd(2086);

int main() {
	int n = 7;
    std::vector<int> vec(n);
    std::shuffle(vec.begin(), vec.begin() + 4, rnd);
    return;
}

詳細信息

answer.code: In function ‘int main()’:
answer.code:11:5: error: return-statement with no value, in function returning ‘int’ [-fpermissive]
   11 |     return;
      |     ^~~~~~