Borderou de evaluare (job #2942724)

Utilizator LuciBBadea Lucian LuciB Data 19 noiembrie 2022 23:25:24
Problema Subsecvente2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:19: error: 'NMA' was not declared in this scope; did you mean 'NMAX'? 9 | long long hashuri[NMA][ANSMAX * LENMAX]; | ^~~ | NMAX main.cpp: In function 'bool isMaskInHash(int, long long int)': main.cpp:16:12: error: 'hashuri' was not declared in this scope 16 | if(hashuri[i][mid] > mask) | ^~~~~~~ main.cpp:21:13: error: 'hashuri' was not declared in this scope 21 | return (hashuri[i][st] == mask); | ^~~~~~~ main.cpp: In function 'bool check(int)': main.cpp:33:9: error: 'hashuri' was not declared in this scope 33 | hashuri[i][lengths[i]++] = mask; | ^~~~~~~ main.cpp:34:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(int finish = len; finish < v[i].size(); finish++) { | ~~~~~~~^~~~~~~~~~~~~ main.cpp:45:50: error: 'hashuri' was not declared in this scope 45 | tempAns = (tempAns & isMaskInHash(j, hashuri[0][i])); | ^~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?