Borderou de evaluare (job #2790648)

Utilizator Asgari_ArminArmin Asgari Asgari_Armin Data 29 octombrie 2021 12:05:28
Problema Infinitywar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:18:19: error: 'int index [50002]' redeclared as different kind of entity 18 | int index[NMAX + 2]; | ^ In file included from /usr/include/string.h:432, from /usr/include/c++/10/cstring:42, from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:48, from main.cpp:1: /usr/include/strings.h:61:1: note: previous declaration 'const char* index(const char*, int)' 61 | index (const char *__s, int __c) __THROW | ^~~~~ main.cpp: In function 'int main()': main.cpp:44:19: error: invalid types '<unresolved overloaded function type>[int]' for array subscript 44 | while( index[i] < v[i].size() && v[i][index[i]] <= right_interval ) { | ^ main.cpp:44:50: error: invalid types '<unresolved overloaded function type>[int]' for array subscript 44 | while( index[i] < v[i].size() && v[i][index[i]] <= right_interval ) { | ^ main.cpp:45:35: error: invalid types '<unresolved overloaded function type>[int]' for array subscript 45 | val |= (1LL << (v[i][index[i]] - left_interval)); | ^ main.cpp:46:16: error: invalid types '<unresolved overloaded function type>[int]' for array subscript 46 | ++index[i]; | ^ Non zero exit status: 1

Ceva nu functioneaza?