Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. Test results
  2.  
  3. Input values
  4.  
  5. %n%06.3f 12.34
  6. Wrong output!
  7.  
  8. See the diff log below. Please check the formating carefully. The test is case-sensitive and all characters including whitespaces are relevant.
  9. stdout
  10.  
  11. EXPECTED OUTPUT CURRENT OUTPUT
  12. ===============================================================================================================================================
  13. Enter formating string: Enter floating point number: Formated number: | Enter two integers
  14. 12.340 <
  15. Hexdump
  16.  
  17. EXPECTED OUTPUT CURRENT OUTPUT
  18. ===========================================================================================
  19. 0000000: 45 6e 74 65 72 20 66 6f Enter fo | 0000000: 45 6e 74 65 72 20 74 77 Enter tw
  20. 0000008: 72 6d 61 74 69 6e 67 20 rmating | 0000008: 6f 20 69 6e 74 65 67 65 o intege
  21. 0000010: 73 74 72 69 6e 67 3a 20 string: | 0000010: 72 73 0a rs.
  22. 0000018: 45 6e 74 65 72 20 66 6c Enter fl <
  23. 0000020: 6f 61 74 69 6e 67 20 70 oating p <
  24. 0000028: 6f 69 6e 74 20 6e 75 6d oint num <
  25. 0000030: 62 65 72 3a 20 46 6f 72 ber: For <
  26. 0000038: 6d 61 74 65 64 20 6e 75 mated nu <
  27. 0000040: 6d 62 65 72 3a 20 0a 31 mber: .1 <
  28. 0000048: 32 2e 33 34 30 0a 2.340. <
  29. stderr
  30.  
  31. EXPECTED OUTPUT CURRENT OUTPUT
  32. ===============================================================================================================================================
  33. > Unsupported input value
  34. Hexdump
  35.  
  36. EXPECTED OUTPUT CURRENT OUTPUT
  37. ===========================================================================================
  38. > 0000000: 55 6e 73 75 70 70 6f 72 Unsuppor
  39. > 0000008: 74 65 64 20 69 6e 70 75 ted inpu
  40. > 0000010: 74 20 76 61 6c 75 65 0a t value.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement