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 22:53Evgen BodunovEvgen BodunovScore: 5,899Success
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 22:535,85143,308,58717,682,0001,040,0002,281,472
2Nov 5, 2024 22:535,88148,321,26217,829,000990,0002,289,664
3Nov 5, 2024 22:535,89047,459,02417,857,000992,0002,281,472
4Nov 5, 2024 22:535,89646,125,00416,881,0001,986,0002,269,184
5Nov 5, 2024 22:535,89946,838,26717,884,000993,0002,289,664
6Nov 5, 2024 22:535,89948,783,14116,890,0001,987,0002,289,664
7Nov 5, 2024 22:535,91353,380,34216,930,0001,991,0002,269,184
8Nov 5, 2024 22:535,91346,400,89916,930,0001,991,0002,289,664
9Nov 5, 2024 22:535,95056,154,24717,035,0002,004,0002,265,088