Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17867 2024-04-24 03:02:14 ewu_intra24_mock_u_84 Rectangle Area C 0 ms 1568 kb Accepted
Test Cases
CPU Memory Verdict
1 0 ms 1568 kb Accepted
2 0 ms 1544 kb Accepted
3 0 ms 1540 kb Accepted
4 0 ms 1552 kb Accepted
5 0 ms 1556 kb Accepted
6 0 ms 1548 kb Accepted
7 0 ms 1540 kb Accepted
Source Code
program.c
Download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. float h, w, a;
  6. scanf("%f %f", &h, &w);
  7. if((1<=h && h<=10000) && (1<=w && w<=10000)){
  8. a = h*w;
  9. printf("%f\n", a);
  10. }
  11.  
  12. else
  13. printf("error\n");
  14. return 0;
  15. }
  16.