Submission #229699

#TimeUsernameProblemLanguageResultExecution timeMemory
229699hanagasumiSnake Escaping (JOI18_snake_escaping)C++17
0 / 100
52 ms65540 KiB
#include <iostream> #include <vector> #include <cmath> #include <algorithm> #include <deque> #include <map> #include <set> #include <complex> #include <string> #include <unordered_map> #include <unordered_set> #include <random> #define ft first #define sc second #define pb push_back #define len(v) (int)v.size() #define int ll using namespace std; typedef long long ll; const int nnn = (1 << 10); const int mmm = 59049; short dp[nnn][mmm]; signed main() { #ifdef PC freopen("in.txt", "r", stdin); freopen("out.txt", "w", stdout); #endif ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); for (int i = 0; i < nnn; i++) { for (int j = 0; j < mmm; j++) { dp[i][j] = 0; } } int L; cin >> L; // solve_stupid(L); string s; cin >> s; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...