#!/usr/bin/perl -ause 5.10.0;$n++while pop@F;say$n
1 1 1 1 1 0 0 1 1 1 1
4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!