Kamuoliukų automatas (BOI 2013)

Taškai: 0

Compile: FAIL

kamuoliuku_automatas.cpp:14:5: error: ‘int index’ redeclared as different kind of symbol int index = 0; ^ In file included from /usr/include/c++/5/cstring:42:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:48, from kamuoliuku_automatas.cpp:1: /usr/include/string.h:477:1: note: previous declaration ‘const char* index(const char*, int)’ index (const char *__s, int __c) __THROW ^ kamuoliuku_automatas.cpp: In function ‘void surEil(int)’: kamuoliuku_automatas.cpp:78:15: error: invalid types ‘int [100000][<unresolved overloaded function type>]’ for array subscript pozi[index] = kuris; ^ kamuoliuku_automatas.cpp:79:10: error: no post-increment operator for type index++; ^

nr.resulttimemessage