Submission #746339

# Submission time Handle Problem Language Result Execution time Memory
746339 2023-05-22T11:30:30 Z doowey Brperm (RMI20_brperm) C++14
0 / 100
104 ms 2392 KB
#include <bits/stdc++.h>
#include "brperm.h"

using namespace std;

typedef long long ll;
typedef pair<int, int> pii;

#define fi first
#define se second
#define mp make_pair

vector<char> S;

void init(int n, const char s[]) {
    for(int i = 0 ; i < n; i ++ ){
        S.push_back(s[i]);
    }
}

int query(int i, int k) {
    int sz = (1 << k);
    return 0;
}

Compilation message

brperm.cpp: In function 'int query(int, int)':
brperm.cpp:22:9: warning: unused variable 'sz' [-Wunused-variable]
   22 |     int sz = (1 << k);
      |         ^~
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 104 ms 2392 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -