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 listJul 31, 2024 12:47BenBenScore: 4,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 12:474,46034,464,39814,273,00002,498,560
2Jul 31, 2024 12:474,46138,313,08112,372,0001,903,0002,269,184
3Jul 31, 2024 12:474,46929,063,98814,302,00002,490,368
4Jul 31, 2024 12:474,47430,173,07714,316,00002,490,368
5Jul 31, 2024 12:474,47539,170,65114,320,00002,494,464
6Jul 31, 2024 12:474,49125,957,48314,370,00002,494,464
7Jul 31, 2024 12:474,49531,197,05314,383,00002,277,376
8Jul 31, 2024 12:474,50528,265,56214,416,00002,490,368
9Jul 31, 2024 12:474,56331,249,80414,603,00002,277,376
10Jul 31, 2024 12:474,75884,250,51915,225,04902,232,320
11Jul 31, 2024 12:474,79163,439,44415,331,06302,256,896
12Jul 31, 2024 12:474,86063,874,73515,551,13702,244,608