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 listJan 22, 2024 09:18Alexander MonakovAlexander MonakovScore: 5,134Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:185,07429,157,86616,238,00002,273,280
2Jan 22, 2024 09:185,08039,543,00316,257,00002,277,376
3Jan 22, 2024 09:185,09134,915,52316,292,00002,277,376
4Jan 22, 2024 09:185,09731,804,81816,310,00002,277,376
5Jan 22, 2024 09:185,11531,210,18816,367,00002,498,560
6Jan 22, 2024 09:185,11632,570,27016,371,00002,502,656
7Jan 22, 2024 09:185,13434,285,11115,463,000966,0002,494,464
8Jan 22, 2024 09:185,13848,173,81016,443,00002,502,656
9Jan 22, 2024 09:185,15634,843,26716,498,00002,498,560
10Jan 22, 2024 09:185,30786,345,52316,981,53302,244,608
11Jan 22, 2024 09:185,32084,930,09817,023,22202,236,416
12Jan 22, 2024 09:185,41278,641,72717,319,91102,236,416