# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
856247 |
2023-10-02T21:47:04 Z |
divad |
Floppy (RMI20_floppy) |
C++14 |
|
55 ms |
7056 KB |
#include <bits/stdc++.h>
#include "floppy.h"
using namespace std;
void read_array(int subtask_id, const vector<int> &v) {
string bits = "001100";
save_to_floppy(bits);
}
vector<int> solve_queries(int subtask_id, int N,
const string &bits,
const vector<int> &a, const vector<int> &b) {
vector<int> answers = {0, 0, 0, 0, 1, 2, 2, 2, 2, 3};
return answers;
}
Compilation message
stub.cpp: In function 'void run2()':
stub.cpp:101:30: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
101 | if (query_answers.size() != M) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
804 KB |
Output isn't correct1 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
15 ms |
2332 KB |
Output isn't correct1 |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
55 ms |
7056 KB |
Output isn't correct1 |
2 |
Halted |
0 ms |
0 KB |
- |