Borderou de evaluare (job #3153275)

Utilizator db_123Balaban David db_123 Data 29 septembrie 2023 00:11:05
Problema Power Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void display(Vec<Vec<long long int> >&)': main.cpp:84:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 84 | for(int ii=1;ii<ma.size();ii++) { | ~~^~~~~~~~~~ main.cpp:85:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 85 | for(int j=1;j<ma[ii].size();j++) { | ~^~~~~~~~~~~~~~ main.cpp: In function 'void solve()': main.cpp:116:26: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 116 | for(int j=1;j<C.size();j++) { | ~^~~~~~~~~ main.cpp: In instantiation of 'T& Vec<T>::operator[](size_t) [with T = Vec<long long int>; size_t = long unsigned int]': main.cpp:85:28: required from here main.cpp:24:15: error: 'assert' was not declared in this scope 24 | assert(idx<v.size() && "Out of bounds vec1"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:3:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'? 2 | #include <vector> +++ |+#include <cassert> 3 | main.cpp: In instantiation of 'T& Vec<T>::operator[](size_t) [with T = long long int; size_t = long unsigned int]': main.cpp:86:27: required from here main.cpp:24:15: error: 'assert' was not declared in this scope 24 | assert(idx<v.size() && "Out of bounds vec1"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:24:15: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'? main.cpp: In instantiation of 'const T& Vec<T>::operator[](size_t) const [with T = Vec<long long int>; size_t = long unsigned int]': main.cpp:38:13: required from 'Vec<Vec<long long int> > operator*(const Vec<Vec<long long int> >&, const Vec<Vec<long long int> >&)' main.cpp:76:21: required from here main.cpp:28:15: error: 'assert' was not declared in this scope 28 | assert(idx<v.size() && "Out of bounds vec2"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:28:15: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'? main.cpp: In instantiation of 'const T& Vec<T>::operator[](size_t) const [with T = long long int; size_t = long unsigned int]': main.cpp:49:43: required from 'Vec<Vec<long long int> > operator*(const Vec<Vec<long long int> >&, const Vec<Vec<long long int> >&)' main.cpp:76:21: required from here main.cpp:28:15: error: 'assert' was not declared in this scope main.cpp:28:15: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'? Non zero exit status: 1

Ceva nu functioneaza?