import std.c.stdio;void main(){int x,c;while(scanf("%d",&x)>0)c?printf("%d\x0d %d\x0d ",c+x,x):printf("%d\x0d ",x),c=x;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page