atomic numbers by

l[999];\x0d
n;\x0d
o;\x0d
r;\x0d
s;\x0d
main(i){\x0d
\x09for(;r=scanf("%s",&l[o])>0;o++){\x0d
//\x09\x09printf("%s(%2d)[%d]\n",&l[o],o,r);\x0d
\x09\x09if(116<o){\x0d
\x09\x09\x09for(s=0;s<117;s++){\x0d
//\x09\x09\x09\x09printf("-?-%2s(%2d)[%04x]-?-",&l[o],o,l[o]);\x0d
//\x09\x09\x09\x09printf("-?-%3s(%2d)[%04x]-?-\n",&l[s],s,l[s]);\x0d
\x09\x09\x09\x09if(l[s]==l[o]){\x0d
//\x09\x09\x09\x09\x09printf("-!!!-[%d<%d>]-!!!-\n",l[s],s+1);\x0d
\x09\x09\x09\x09\x09printf("%d\n",s+1);\x0d
\x09\x09\x09\x09\x09break;\x0d
\x09\x09\x09\x09}\x0d
\x09\x09\x09}\x0d
\x09\x09}\x0d
\x09}\x0d
}\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page