fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i;
  5.  
  6. scanf(" %*c%d%*c", &i);
  7. printf("%d\n", i);
  8.  
  9. scanf(" [%d]", &i);
  10. printf("%d\n", i);
  11.  
  12. scanf(" [%d]", &i);
  13. printf("%d\n", i);
  14.  
  15. return 0;
  16. }
Success #stdin #stdout 0s 10304KB
stdin
[123]
[145]
[431]
stdout
123
145
431