Pagini recente » Borderou de evaluare (job #2381444) | Borderou de evaluare (job #15721) | Borderou de evaluare (job #1851673) | Borderou de evaluare (job #1763582) | Borderou de evaluare (job #3219142)
Borderou de evaluare (job #3219142)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:82:7: warning: unused variable 'p' [-Wunused-variable]
82 | Dbl p, val;
| ^
main.cpp:82:10: warning: unused variable 'val' [-Wunused-variable]
82 | Dbl p, val;
| ^~~
main.cpp: In instantiation of 'Matrix_impl<T, N>::Matrix_impl() [with T = long double; long unsigned int N = 60]':
main.cpp:75:8: required from here
main.cpp:14:23: warning: 'Matrix_impl<long double, 60>::m_cols' will be initialized after [-Wreorder]
14 | std::size_t m_rows, m_cols;
| ^~~~~~
main.cpp:13:35: warning: 'std::array<std::array<long double, 60>, 60> Matrix_impl<long double, 60>::m_data' [-Wreorder]
13 | std::array<std::array<T, N>, N> m_data;
| ^~~~~~
main.cpp:17:3: warning: when initialized here [-Wreorder]
17 | Matrix_impl() : m_rows{N}, m_cols{N}, m_data{} {};
| ^~~~~~~~~~~
main.cpp: In instantiation of 'static constexpr Matrix_impl<T, N> Matrix_impl<T, N>::I(size_t) [with T = long double; long unsigned int N = 60; size_t = long unsigned int]':
main.cpp:99:18: required from here
main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
30 | for (int i = 0; i < dim; ++i) {
| ~~^~~~~
main.cpp: In instantiation of 'Matrix_impl<T, N>::Matrix_impl(std::size_t, std::size_t) [with T = long double; long unsigned int N = 60; std::size_t = long unsigned int]':
main.cpp:29:17: required from 'static constexpr Matrix_impl<T, N> Matrix_impl<T, N>::I(size_t) [with T = long double; long unsigned int N = 60; size_t = long unsigned int]'
main.cpp:99:18: required from here
main.cpp:14:23: warning: 'Matrix_impl<long double, 60>::m_cols' will be initialized after [-Wreorder]
14 | std::size_t m_rows, m_cols;
| ^~~~~~
main.cpp:13:35: warning: 'std::array<std::array<long double, 60>, 60> Matrix_impl<long double, 60>::m_data' [-Wreorder]
13 | std::array<std::array<T, N>, N> m_data;
| ^~~~~~
main.cpp:19:3: warning: when initialized here [-Wreorder]
19 | Matrix_impl(const std::size_t rows, const std::size_t cols)
| ^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 557kb | Okay | 10 |
2 | 3ms | 557kb | Okay | 10 |
3 | 8ms | 557kb | Okay | 10 |
4 | 9ms | 557kb | Okay | 10 |
5 | 7ms | 557kb | Okay | 10 |
6 | 9ms | 557kb | Okay | 10 |
7 | 9ms | 557kb | Okay | 10 |
8 | 9ms | 557kb | Okay | 10 |
9 | 9ms | 557kb | Okay | 10 |
10 | 9ms | 557kb | Okay | 10 |
Punctaj total | 100 |