feat(DP): new problem formated

This commit is contained in:
2025-11-06 20:04:52 -03:00
parent c916bf6ae5
commit 8db9d73aab
228 changed files with 6879 additions and 0 deletions

18
estouro/src/validator.cpp Normal file
View File

@@ -0,0 +1,18 @@
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char* argv[]) {
registerValidation(argc, argv);
int n = inf.readInt(1, 300, "n");
inf.readEoln();
for (int i = 0; i < n; i++) {
if (i != 0) inf.readSpace();
inf.readInt(0, 100, "nums[" + to_string(i) + "]");
}
inf.readEoln();
inf.readEof();
return 0;
}