An example using string

I need a program which uses string and stdio library to help me solve 785A from Codeforces.
Welcome to C++. We have iostream now.
https://codeforces.com/problemset/problem/785/A
It seems simple enough to have a go at.

Can you get at least as far as reading the first line from the file, and printing out something like
printf("There are %d polyhedra in the file\n", nPolyhedra);
Topic archived. No new replies allowed.