#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;
}
# |
Verdict |
Execution time |
Memory |
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 |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
1 ms |
436 KB |
Execution killed with signal 11 |
2 |
Halted |
0 ms |
0 KB |
- |