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 listAug 31, 2024 19:15zielajzielajScore: 4,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 19:154,12031,161,87012,171,0001,014,0002,527,232
2Aug 31, 2024 19:154,13237,099,70012,204,0001,017,0002,494,464
3Aug 31, 2024 19:154,14127,958,78413,251,00002,269,184
4Aug 31, 2024 19:154,14633,875,87713,266,00002,269,184
5Aug 31, 2024 19:154,15031,810,44213,280,00002,531,328
6Aug 31, 2024 19:154,15234,011,73813,286,00002,531,328
7Aug 31, 2024 19:154,15328,663,52313,289,00002,269,184
8Aug 31, 2024 19:154,15826,534,29713,306,00002,490,368
9Aug 31, 2024 19:154,16130,482,95513,315,00002,498,560
10Aug 31, 2024 19:154,16128,288,34212,290,0001,024,0002,531,328
11Aug 31, 2024 19:154,17632,630,74612,335,0001,027,0002,490,368
12Aug 31, 2024 19:154,18434,242,69513,388,00002,494,464