Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test results
- Input values
- %n%06.3f 12.34
- Wrong output!
- See the diff log below. Please check the formating carefully. The test is case-sensitive and all characters including whitespaces are relevant.
- stdout
- EXPECTED OUTPUT CURRENT OUTPUT
- ===============================================================================================================================================
- Enter formating string: Enter floating point number: Formated number: | Enter two integers
- 12.340 <
- Hexdump
- EXPECTED OUTPUT CURRENT OUTPUT
- ===========================================================================================
- 0000000: 45 6e 74 65 72 20 66 6f Enter fo | 0000000: 45 6e 74 65 72 20 74 77 Enter tw
- 0000008: 72 6d 61 74 69 6e 67 20 rmating | 0000008: 6f 20 69 6e 74 65 67 65 o intege
- 0000010: 73 74 72 69 6e 67 3a 20 string: | 0000010: 72 73 0a rs.
- 0000018: 45 6e 74 65 72 20 66 6c Enter fl <
- 0000020: 6f 61 74 69 6e 67 20 70 oating p <
- 0000028: 6f 69 6e 74 20 6e 75 6d oint num <
- 0000030: 62 65 72 3a 20 46 6f 72 ber: For <
- 0000038: 6d 61 74 65 64 20 6e 75 mated nu <
- 0000040: 6d 62 65 72 3a 20 0a 31 mber: .1 <
- 0000048: 32 2e 33 34 30 0a 2.340. <
- stderr
- EXPECTED OUTPUT CURRENT OUTPUT
- ===============================================================================================================================================
- > Unsupported input value
- Hexdump
- EXPECTED OUTPUT CURRENT OUTPUT
- ===========================================================================================
- > 0000000: 55 6e 73 75 70 70 6f 72 Unsuppor
- > 0000008: 74 65 64 20 69 6e 70 75 ted inpu
- > 0000010: 74 20 76 61 6c 75 65 0a t value.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement