0_0_30277745_12444.cpp: In function 'int main()': 0_0_30277745_12444.cpp:46:29: error: invalid types 'node [100010][double]' for array subscript printf("%s\n",a[ceil(pos)].s); ^