fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. FILE *f = stdin; // use fopen
  5. int i, score;
  6. char buf[1024];
  7. for (i = 0 ; i != 11 ; i++) {
  8. fgets(buf, 1024, f);
  9. }
  10. fscanf(f, "%*[^<]%*[<]%d", &score);
  11. printf("%d\n", score);
  12. return 0;
  13. }
Success #stdin #stdout 0.02s 1680KB
stdin
1
2
3
4
5
6
7
8
9
10
11
- one with <123>
stdout
123