QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#155806#7118. Closing Time3omar_ahmedCompile Error//C++204.1kb2023-09-02 06:48:332024-04-28 06:49:01

Details

answer.code:66:9: error: redefinition of ‘std::mt19937 rng’
   66 | mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
      |         ^~~
answer.code:9:9: note: ‘std::mt19937 rng’ previously declared here
    9 | mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
      |         ^~~
answer.code:68:5: error: redefinition of ‘int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)’
   68 | int max_score(int n, int x, int y, ll K, vector < int > u, vector < int > v, vector < int > w) {
      |     ^~~~~~~~~
answer.code:11:5: note: ‘int max_score(int, int, int, long long int, std::vector<int>, std::vector<int>, std::vector<int>)’ previously defined here
   11 | int max_score(int n, int x, int y, ll K, vector < int > u, vector < int > v, vector < int > w) {
      |     ^~~~~~~~~