ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1316. Electronic Auction

Wa 6 (playing with precision)
Posted by FaNato4kA_TiMoFeYa 12 Aug 2024 01:02
Use this two tips:
1) int x = (int)(t * 100 + 0.0000001); // for input
2) cout << setprecision(100); // for output
Good luck :)