fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a, b;
  5. float x, y;
  6. char c1, c2;
  7. scanf("a=%d b=%d", &a, &b);
  8. scanf("%f %e", &x, &y);
  9. scanf(" %c,%c", &c1, &c2);
  10. // 这里可以添加代码来验证输入的数据是否正确
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5284KB
stdin
3 7
8.5 71.82
A,a
stdout
Standard output is empty