| Task: | Peli |
| Sender: | Mahtimursu |
| Submission time: | 2022-01-22 16:38:12 +0200 |
| Language: | C++ (C++17) |
| Status: | READY |
| Result: | 0 |
| group | verdict | score |
|---|---|---|
| #1 | WRONG ANSWER | 0 |
| #2 | WRONG ANSWER | 0 |
| #3 | WRONG ANSWER | 0 |
| test | verdict | time | group | |
|---|---|---|---|---|
| #1 | WRONG ANSWER | 0.01 s | 1, 2, 3 | details |
| #2 | WRONG ANSWER | 0.01 s | 2, 3 | details |
| #3 | WRONG ANSWER | 0.01 s | 3 | details |
| #4 | ACCEPTED | 0.01 s | 1, 2, 3 | details |
| #5 | ACCEPTED | 0.01 s | 1, 2, 3 | details |
Compiler report
input/code.cpp: In function 'int main()':
input/code.cpp:29:9: warning: unused variable 'ac' [-Wunused-variable]
int ac = 0;
^~
input/code.cpp:30:9: warning: unused variable 'bc' [-Wunused-variable]
int bc = 0;
^~
input/code.cpp:31:9: warning: unused variable 'cc' [-Wunused-variable]
int cc = 0;
^~Code
#include <bits/stdc++.h>
typedef long long ll;
#define M 1000000007
#define N (1 << 18)
using namespace std;
int n, k;
int ans = 0;
int dp[100001][10][10][10];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
string v;
cin >> n >> k;
cin >> v;
if (k < 3 || n < 3) {
cout << 0 << "\n";
return 0;
}
int ac = 0;
int bc = 0;
int cc = 0;
for (int i = 0; i < n; ++i) {
}
cout << ans << "\n";
return 0;
}Test details
Test 1
Group: 1, 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 100000 3 BBAACBCBACBACABBCBAABCBCCBCCAA... |
| correct output |
|---|
| 18201 |
| user output |
|---|
| 0 |
Test 2
Group: 2, 3
Verdict: WRONG ANSWER
| input |
|---|
| 100000 10 BAACABCCBCBAACBBCCCCABBBBACCBA... |
| correct output |
|---|
| 29684 |
| user output |
|---|
| 0 |
Test 3
Group: 3
Verdict: WRONG ANSWER
| input |
|---|
| 100000 50 ACAABCBBAAAACCBBABACACACBCAACA... |
| correct output |
|---|
| 32740 |
| user output |
|---|
| 0 |
Test 4
Group: 1, 2, 3
Verdict: ACCEPTED
| input |
|---|
| 3 1 ABC |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
Test 5
Group: 1, 2, 3
Verdict: ACCEPTED
| input |
|---|
| 3 2 ABC |
| correct output |
|---|
| 0 |
| user output |
|---|
| 0 |
