Borderou de evaluare (job #2729134)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 24 martie 2021 12:09:46
Problema Intrus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:13:6: error: 'bitset' in namespace 'std' does not name a template type std::bitset<1 + maxv> prime ; ^~~~~~ main.cpp: In function 'void ciur()': main.cpp:19:5: error: 'prime' was not declared in this scope prime[1] = 1 ; ^~~~~ main.cpp: In function 'intrusi solve(PII, int, int, int)': main.cpp:68:18: error: 'prime' was not declared in this scope if (!prime[mat[i][j]] && !(i == val.first && j == val.second) && mat[i][j]) { ^~~~~ main.cpp: In function 'void solveHard(int, int, int)': main.cpp:85:5: error: 'sort' is not a member of 'std' std::sort(begin(sol), end(sol)) ; ^~~ main.cpp: In function 'int main()': main.cpp:95:54: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d\n%d %d %d\n", &query, &r, &c, &d) ; ^ main.cpp:99:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &mat[i][j]) ; ^ Non zero exit status: 1

Ceva nu functioneaza?