| Problem | crypto |
|---|---|
| User | wilson9304 |
| Submission Time | 2025-12-11 14:54:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
crypto.cpp:13:1: error: expected ‘,’ or ‘;’ before ‘vector’
13 | vector<int> factorials(300005, -1);
| ^~~~~~
crypto.cpp: In function ‘int factorial(int)’:
crypto.cpp:25:7: error: ‘factorials’ was not declared in this scope; did you mean ‘factorial’?
25 | if (factorials[v] != -1)
| ^~~~~~~~~~
| factorial
crypto.cpp: In function ‘int main()’:
crypto.cpp:51:5: error: ‘factorials’ was not declared in this scope; did you mean ‘factorial’?
51 | factorials[1] = 1;
| ^~~~~~~~~~
| factorial