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 23, 2024 13:51MatthiasMatthiasScore: 5,030Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 13:514,99538,863,10113,986,0001,998,0002,527,232
2Nov 23, 2024 13:515,00244,073,59515,005,0001,000,0002,289,664
3Nov 23, 2024 13:515,01838,057,18914,052,0002,007,0002,273,280
4Nov 23, 2024 13:515,02533,240,41215,076,0001,005,0002,289,664
5Nov 23, 2024 13:515,03037,113,95214,084,0002,012,0002,289,664
6Nov 23, 2024 13:515,03138,461,86914,088,0002,012,0002,277,376
7Nov 23, 2024 13:515,03336,730,53215,100,0001,006,0002,289,664
8Nov 23, 2024 13:515,04938,562,08814,139,0002,019,0002,269,184
9Nov 23, 2024 13:515,08341,646,34514,234,0002,033,0002,265,088