답안 #696342

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
696342 2023-02-06T09:15:44 Z US3RN4M3 Broken Device 2 (JOI22_device2) C++17
5 / 100
745 ms 32640 KB
#include "Anna.h"
#include <utility>
#include <vector>


int Declare() {
  return 2000;
}

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

long long Bruno(std::vector<int> u) {
	ll ret = 0;
	for(int i : u) if(i) ret++;
	return ret;
}

# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 694 ms 32592 KB Output is correct
3 Correct 745 ms 32640 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 694 ms 32592 KB Output is correct
3 Correct 745 ms 32640 KB Output is correct
4 Runtime error 1 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 694 ms 32592 KB Output is correct
3 Correct 745 ms 32640 KB Output is correct
4 Runtime error 1 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 694 ms 32592 KB Output is correct
3 Correct 745 ms 32640 KB Output is correct
4 Runtime error 1 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 652 KB Output is correct
2 Correct 694 ms 32592 KB Output is correct
3 Correct 745 ms 32640 KB Output is correct
4 Runtime error 1 ms 468 KB Execution killed with signal 11
5 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1 ms 436 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -