Borderou de evaluare (job #3370288)

Utilizator tamionvTamio Vesa Nakajima tamionv Data 25 octombrie 2026 00:49:15
Problema Iepuri Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:11: error: 'fstream' was not declared in this scope 2 | jinclude <fstream> | ^~~~~~~ main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:11: error: 'fstream' was not declared in this scope main.cpp:2:1: error: 'jinclude' does not name a type 2 | jinclude <fstream> | ^~~~~~~~ main.cpp:10:18: error: 'array' does not name a type 10 | static constexpr array<int, N> poly_mul(array<int, N> a, array<int, N> b, array<int, N> p){ | ^~~~~ main.cpp:24:18: error: 'array' does not name a type 24 | static constexpr array<int, N> lgput(array<int, N> a, int x, array<int, N> p, array<int, N> r = {1, 0}){ | ^~~~~ main.cpp:24:103: error: expected unqualified-id before ')' token 24 | static constexpr array<int, N> lgput(array<int, N> a, int x, array<int, N> p, array<int, N> r = {1, 0}){ | ^ main.cpp:29:40: error: 'array' was not declared in this scope; did you mean 'std::array'? 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^~~~~ | std::array In file included from main.cpp:1: /usr/include/c++/12.2.1/array:99:12: note: 'std::array' declared here 99 | struct array | ^~~~~ main.cpp:29:46: error: expected primary-expression before 'int' 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^~~ main.cpp:29:54: error: 'a' was not declared in this scope 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^ main.cpp:29:57: error: 'array' was not declared in this scope; did you mean 'std::array'? 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^~~~~ | std::array /usr/include/c++/12.2.1/array:99:12: note: 'std::array' declared here 99 | struct array | ^~~~~ main.cpp:29:63: error: expected primary-expression before 'int' 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^~~ main.cpp:29:71: error: 'b' was not declared in this scope 29 | static constexpr int mod_inner_product(array<int, N> a, array<int, N> b){ | ^ Non zero exit status: 1

Ceva nu functioneaza?