Submission #721158

# Submission time Handle Problem Language Result Execution time Memory
721158 2023-04-10T11:37:16 Z lam Broken Device 2 (JOI22_device2) C++17
5 / 100
586 ms 524288 KB
#include "Anna.h"
#include <utility>
#include <vector>
#include <bits/stdc++.h>
using namespace std;

int Declare() {
  return 2000;
}

std::pair<std::vector<int>, std::vector<int> > Anna(long long A) {
    vector <int> a,b;
    for (int i=0; i<A; i++) a.push_back(0);
    for (int i=0; i<A; i++) b.push_back(1);
  return make_pair(a, b);
}
#include "Bruno.h"
#include <utility>
#include <vector>
#include <bits/stdc++.h>
using namespace std;

long long Bruno(std::vector<int> u) {
    int cnt=0;
    for (int i:u) if (i==1) cnt++;
    return cnt;
}
# Verdict Execution time Memory Grader output
1 Correct 2 ms 648 KB Output is correct
2 Correct 194 ms 8884 KB Output is correct
3 Correct 581 ms 24576 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 648 KB Output is correct
2 Correct 194 ms 8884 KB Output is correct
3 Correct 581 ms 24576 KB Output is correct
4 Incorrect 53 ms 38264 KB Wrong Answer [3]
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 648 KB Output is correct
2 Correct 194 ms 8884 KB Output is correct
3 Correct 581 ms 24576 KB Output is correct
4 Incorrect 53 ms 38264 KB Wrong Answer [3]
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 648 KB Output is correct
2 Correct 194 ms 8884 KB Output is correct
3 Correct 581 ms 24576 KB Output is correct
4 Incorrect 53 ms 38264 KB Wrong Answer [3]
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 648 KB Output is correct
2 Correct 194 ms 8884 KB Output is correct
3 Correct 581 ms 24576 KB Output is correct
4 Incorrect 53 ms 38264 KB Wrong Answer [3]
5 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 586 ms 524288 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -