Submission #614846

# Submission time Handle Problem Language Result Execution time Memory
614846 2022-07-31T05:12:43 Z 반딧불(#8492) Broken Device 2 (JOI22_device2) C++17
5 / 100
904 ms 32484 KB
#include "Anna.h"
#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

namespace {

int variable_example = 0;

}

int Declare() {
    return 2000;
}

pair<vector<int>, vector<int> > Anna(ll X){
    vector<int> A(2000), B(2000);
    for(int i=0; i<X; i++) A[i] = 1;
    return make_pair(A, B);
}
#include "Bruno.h"
#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

namespace {

int variable_example = 0;

}

ll Bruno(vector<int> u){
    return count(u.begin(), u.end(), 1);
}

Compilation message

Anna.cpp:10:5: warning: '{anonymous}::variable_example' defined but not used [-Wunused-variable]
   10 | int variable_example = 0;
      |     ^~~~~~~~~~~~~~~~

Bruno.cpp:10:5: warning: '{anonymous}::variable_example' defined but not used [-Wunused-variable]
   10 | int variable_example = 0;
      |     ^~~~~~~~~~~~~~~~
# Verdict Execution time Memory Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 779 ms 32428 KB Output is correct
3 Correct 904 ms 32484 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 779 ms 32428 KB Output is correct
3 Correct 904 ms 32484 KB Output is correct
4 Runtime error 2 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 779 ms 32428 KB Output is correct
3 Correct 904 ms 32484 KB Output is correct
4 Runtime error 2 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 779 ms 32428 KB Output is correct
3 Correct 904 ms 32484 KB Output is correct
4 Runtime error 2 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 779 ms 32428 KB Output is correct
3 Correct 904 ms 32484 KB Output is correct
4 Runtime error 2 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 468 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -