Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listNov 5, 2024 23:10Evgen BodunovEvgen BodunovScore: 5,586Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:105,52650,058,56116,642,0001,040,0002,269,184
2Nov 5, 2024 23:105,53144,422,96016,657,0001,041,0002,277,376
3Nov 5, 2024 23:105,54246,914,96116,692,0001,043,0002,289,664
4Nov 5, 2024 23:105,58332,995,03615,880,0001,985,0002,269,184
5Nov 5, 2024 23:105,58651,594,77115,889,0001,986,0002,273,280
6Nov 5, 2024 23:105,58944,481,68516,891,000993,0002,359,296
7Nov 5, 2024 23:105,58947,920,72315,898,0001,987,0002,289,664
8Nov 5, 2024 23:105,59042,484,90815,900,0001,987,0002,289,664
9Nov 5, 2024 23:105,59336,591,49416,905,000994,0002,351,104