# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
615423 |
2022-07-31T09:06:21 Z |
이동현(#8495) |
Broken Device 2 (JOI22_device2) |
C++17 |
|
878 ms |
32528 KB |
#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;
| ^~~~~~~~~~~~~~~~
# |
Verdict |
Execution time |
Memory |
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 |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
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 |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Runtime error |
2 ms |
468 KB |
Execution killed with signal 6 |
2 |
Halted |
0 ms |
0 KB |
- |