#include "Anna.h"
#include <utility>
#include <vector>
namespace {
int variable_example = 0;
}
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
int Declare() {
variable_example++;
return 2000;
}
std::pair<std::vector<int>, std::vector<int> > Anna(long long A) {
vector <int> a,b;
for(int i = 1;i <= A;i++)a.pb(1);
for(int i = 1;i <= A;i++)b.pb(0);
return mp(a,b);
}
#include "Bruno.h"
#include <utility>
#include <vector>
namespace {
int variable_example = 0;
}
#include <bits/stdc++.h>
using namespace std;
#define ll long long
long long Bruno(std::vector<int> u) {
ll val = u.size();
return val / 2ll;
}
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 |
196 ms |
9056 KB |
Output is correct |
3 |
Correct |
571 ms |
24488 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
196 ms |
9056 KB |
Output is correct |
3 |
Correct |
571 ms |
24488 KB |
Output is correct |
4 |
Incorrect |
48 ms |
38100 KB |
Wrong Answer [3] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
196 ms |
9056 KB |
Output is correct |
3 |
Correct |
571 ms |
24488 KB |
Output is correct |
4 |
Incorrect |
48 ms |
38100 KB |
Wrong Answer [3] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
196 ms |
9056 KB |
Output is correct |
3 |
Correct |
571 ms |
24488 KB |
Output is correct |
4 |
Incorrect |
48 ms |
38100 KB |
Wrong Answer [3] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
2 ms |
652 KB |
Output is correct |
2 |
Correct |
196 ms |
9056 KB |
Output is correct |
3 |
Correct |
571 ms |
24488 KB |
Output is correct |
4 |
Incorrect |
48 ms |
38100 KB |
Wrong Answer [3] |
5 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Runtime error |
482 ms |
524288 KB |
Execution killed with signal 9 |
2 |
Halted |
0 ms |
0 KB |
- |