fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char buf[100];
  5. fgets(buf, 100, stdin);
  6. if (strcmp(buf, "да") == 0) {
  7. printf("YES\n");
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 4376KB
stdin
да
stdout
YES