0_0_14815101_10635.cpp:3:4: error: expected unqualified-id before 'while' while(scanf("%d",&d)!=EOF){ ^