#include "Anna.h"
#include <bits/stdc++.h>
using namespace std;
namespace {
}
int Declare() {
return 2000;
}
std::pair<std::vector<int>, std::vector<int> > Anna(long long A) {
vector<int> X(A, 1), Y(2000, 0);
while((int)X.size() < 2000) X.push_back(0);
return make_pair(X, Y);
}
#include "Bruno.h"
#include <bits/stdc++.h>
using namespace std;
namespace {
int variable_example = 0;
}
long long Bruno(std::vector<int> u) {
int ans = 0;
for(auto&i:u) ans += i;
return ans;
}
Compilation message
Bruno.cpp:7:5: warning: '{anonymous}::variable_example' defined but not used [-Wunused-variable]
7 | int variable_example = 0;
| ^~~~~~~~~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
765 ms |
32528 KB |
Output is correct |
3 |
Correct |
878 ms |
32456 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
765 ms |
32528 KB |
Output is correct |
3 |
Correct |
878 ms |
32456 KB |
Output is correct |
4 |
Incorrect |
15 ms |
19276 KB |
Wrong Answer [4] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
765 ms |
32528 KB |
Output is correct |
3 |
Correct |
878 ms |
32456 KB |
Output is correct |
4 |
Incorrect |
15 ms |
19276 KB |
Wrong Answer [4] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
765 ms |
32528 KB |
Output is correct |
3 |
Correct |
878 ms |
32456 KB |
Output is correct |
4 |
Incorrect |
15 ms |
19276 KB |
Wrong Answer [4] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
765 ms |
32528 KB |
Output is correct |
3 |
Correct |
878 ms |
32456 KB |
Output is correct |
4 |
Incorrect |
15 ms |
19276 KB |
Wrong Answer [4] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
2 ms |
468 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |