#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;
}
# |
결과 |
실행 시간 |
메모리 |
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 |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
586 ms |
524288 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |