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 listDec 24, 2024 00:24ii14ii14Score: 5,024Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 24, 2024 00:245,01046,443,52514,029,0002,004,0002,269,184
2Dec 24, 2024 00:245,01538,492,14414,043,0002,006,0002,269,184
3Dec 24, 2024 00:245,01837,183,52014,052,0002,007,0002,400,256
4Dec 24, 2024 00:245,02331,820,34514,064,0002,009,0002,269,184
5Dec 24, 2024 00:245,02443,226,97815,074,0001,004,0002,269,184
6Dec 24, 2024 00:245,02644,038,43314,072,0002,010,0002,269,184
7Dec 24, 2024 00:245,03634,403,12514,100,0002,014,0002,510,848
8Dec 24, 2024 00:245,03838,693,19614,108,0002,015,0002,281,472
9Dec 24, 2024 00:245,04939,287,11715,149,0001,009,0002,269,184