0_0_37983024_16729.cpp: In function 'int main()':
0_0_37983024_16729.cpp:8:21: error: invalid types 'll [100001] {aka long long int [100001]}[__gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}]' for array subscript
g[3*pow(i,2)+3*i+1]=true;
^
|