Borderou de evaluare (job #745571)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Ruine | Compilator | cpp-32 |
| Rundă | lasm_16_11_2023_10_12 | Status | evaluat |
| Dată | 16 nov. 2023 19:58:02 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:19: error: 'll' was not declared in this scope
8 | using vl = vector<ll>;
| ^~
main.cpp:8:21: error: template argument 1 is invalid
8 | using vl = vector<ll>;
| ^
main.cpp:8:21: error: template argument 2 is invalid
main.cpp:14:16: error: 'll' was not declared in this scope
14 | using ml = map<ll, ll>;
| ^~
main.cpp:14:20: error: 'll' was not declared in this scope
14 | using ml = map<ll, ll>;
| ^~
main.cpp:14:22: error: template argument 1 is invalid
14 | using ml = map<ll, ll>;
| ^
main.cpp:14:22: error: template argument 2 is invalid
main.cpp:14:22: error: template argument 3 is invalid
main.cpp:14:22: error: template argument 4 is invalid
main.cpp:18:27: error: 'll' was not declared in this scope
18 | using vll = vector<vector<ll>>;
| ^~
main.cpp:18:27: error: template argument 1 is invalid
main.cpp:18:27: error: template argument 2 is invalid
main.cpp:18:29: error: template argument 1 is invalid
18 | using vll = vector<vector<ll>>;
| ^~
main.cpp:18:29: error: template argument 2 is invalid
main.cpp:22:18: error: 'll' was not declared in this scope
22 | using pll = pair<ll, ll>;
| ^~
main.cpp:22:22: error: 'll' was not declared in this scope
22 | using pll = pair<ll, ll>;
| ^~
main.cpp:22:24: error: template argument 1 is invalid
22 | using pll = pair<ll, ll>;
| ^
main.cpp:22:24: error: template argument 2 is invalid
main.cpp: In function 'void read(T, std::vector<_Tp>&)':
main.cpp:28:60: error: expected ';' before '{' token
28 | template <typename T>void read(T n, vector<T> &a){fri(0, n){cin >> a[i];}}
| ^
| ;
main.cpp: In function 'void print(T, T, std::vector<std::vector<_Tp> >&)':
main.cpp:30:74: error: expected ';' before '{' token
30 | template<typename T>void print(T n, T m, vector<vector<T>> &dp){fri(0, n){ct('\n');frj(0, m){ct(setw(5));cts(dp[i][j]);}}}
| ^
| ;