#include <stdio.h>int main() { unsigned int node_id; char str[100]; while(scanf("%u,%[^\n]",&node_id, str) == 2) { printf("%u\n",node_id); } return 0;}
6067,UNKNOWN,2007-02-03 10:03:53.0,2007-01-02 02:54:13.0,12,6,0 29287,UNKNOWN,2007-02-03 21:11:07.0,2007-01-02 07:33:35.0,1,0,0
6067 29287
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!