Borderou de evaluare (job #832934)

Utilizator avatar Cezar2009 Titihazan Cezar Cezar2009 IP ascuns
Problemă Tabla Înmulțirii (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 aug. 2025 16:21:29 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:36:9: error: 'uint16_t' was not declared in this scope 36 | uint16_t n, m, i, j; | ^~~~~~~~ main.cpp:23:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' 22 | #include <climits> +++ |+#include <cstdint> 23 | //#include <iomanip> main.cpp:38:25: error: template argument 2 is invalid 38 | vector <uint16_t> v; | ^ main.cpp:40:16: error: 'n' was not declared in this scope 40 | fin >> n >> m >> k; | ^ main.cpp:40:21: error: 'm' was not declared in this scope 40 | fin >> n >> m >> k; | ^ main.cpp:41:14: error: 'i' was not declared in this scope 41 | for (i = 1; i <= n; ++i) | ^ main.cpp:43:22: error: 'j' was not declared in this scope 43 | for (j = 1; j <= m; ++j) | ^ main.cpp:45:27: error: request for member 'push_back' in 'v', which is of non-class type 'int' 45 | v.push_back((int)i * (int)j); | ^~~~~~~~~ main.cpp:49:16: error: request for member 'begin' in 'v', which is of non-class type 'int' 49 | sort(v.begin(), v.end()); | ^~~~~ main.cpp:49:27: error: request for member 'end' in 'v', which is of non-class type 'int' 49 | sort(v.begin(), v.end()); | ^~~ main.cpp:51:18: error: invalid types 'int[int]' for array subscript 51 | fout << v[k - 1]; | ^