feat(DP): new dp problems formated

This commit is contained in:
2025-11-04 21:14:50 -03:00
parent 669c13147b
commit 3b03c32703
925 changed files with 30660 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]) {
registerValidation(argc, argv);
int n = inf.readInt(1, 100, "n");
inf.readEoln();
string s = inf.readToken("[0-9]+");
inf.readEoln();
inf.readEof();
ensuref(n == (int)s.size(), "String 's' should have length %i", n);
return 0;
}