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 6, 2024 15:21BenBenError
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 13:2500000Error: expected "974861 ", got "974605 "stderr
2Aug 6, 2024 15:214,45626,188,36314,258,00002,494,464
3Aug 6, 2024 15:214,46237,625,08714,278,00002,494,464
4Aug 6, 2024 15:214,47541,115,83614,321,00002,494,464
5Aug 6, 2024 15:214,48729,940,18814,357,00002,277,376
6Aug 6, 2024 15:214,50131,178,63714,402,00002,494,464
7Aug 6, 2024 15:214,50634,302,95214,420,00002,494,464
8Aug 6, 2024 15:214,50727,442,43613,393,0001,030,0002,490,368
9Aug 6, 2024 15:214,52229,087,65614,469,00002,273,280
10Aug 6, 2024 15:214,55432,248,35114,572,00002,490,368
11Aug 6, 2024 15:214,73875,860,27415,162,17002,248,704
12Aug 6, 2024 15:214,77771,918,93415,286,24302,359,296
13Aug 6, 2024 15:214,79063,148,09715,328,26902,236,416