## Tags » Kesari

#### bitset declration causes SIGSEGV

Here’s the (incomplete) code to find some prime numbers.

``````#include<iostream>
#include<bitset>
#include<cmath>

#define SQRT_10_POW_12 1000000llu
#define _10_POW_12_BY_2 1000000000000llu/2llu

using namespace std;

int main()
{
unsigned int T;
unsigned long long n;
register unsigned int it1,it2;

bitset<SQRT_10_POW_12+1llu> isprime;
bitset<_10_POW_12_BY_2+1llu> nums;

return 0;
}
…``` 35 more words```
Recent Questions - Stack Overflow

#### The Zen of eating

An elderly gentleman sat next to me at a restaurant this morning. He was dressed in a spotless white shirt and could have been in his seventies but his face looked tired. 214 more words

In Medias Res

#### Using JAVA Iterator

I’m trying delete strings which have even index numbers in this ArrayList, using “Iterator”.remove.

``````    import java.util.*;
import static java.lang.System.out;

class MAIN
{
public static void main(String args[])
{
ArrayList<String> al = new ArrayList<String>();
Iterator i = al.iterator();
int len;
Scanner sc = new Scanner(System.in);
out.printf("Size:");
len = sc.nextInt();

while( len!=0 )
{
len -= 1;
}

Object o;
for( len = 0 ; len < al.size() ; len +=1)
{
out.println(al);
if( len%2==0 )
{
o = i.next();
out.println(o);
i.remove();
i.next();
}
}

return;
}

}
…``` 24 more words```
Recent Questions - Stack Overflow

#### When I walked for Kesari Queen

It feels nice and warm when one gets to walk the ramp in front of thousands of people and poise with attitude. Same feeling is what I had when I walked the ramp for Kesari Queen. 256 more words

Fashion

#### apt-get remove libstdc++-4.8-doc | 101MB will be freed?

Here’s the output of `apt-get remove libstdc++-4.8-doc` on my system.

``````\$ sudo apt-get remove libstdc++-4.8-doc