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 listJan 9, 2025 15:11scompa18scompa18Score: 5,070Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 15:115,02132,256,10114,060,0002,008,0002,531,328
2Jan 9, 2025 15:115,03443,045,85914,095,0002,013,0002,531,328
3Jan 9, 2025 15:115,04236,177,99915,126,0001,008,0002,285,568
4Jan 9, 2025 15:115,04738,522,07215,140,0001,009,0002,527,232
5Jan 9, 2025 15:115,07036,176,14014,197,0002,028,0002,285,568
6Jan 9, 2025 15:115,07631,755,20015,227,0001,015,0002,277,376
7Jan 9, 2025 15:115,07634,345,97314,214,0002,030,0002,273,280
8Jan 9, 2025 15:115,08635,427,84515,257,0001,017,0002,285,568
9Jan 9, 2025 15:115,10236,436,14414,286,0002,040,0002,285,568