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 listJun 12, 2024 02:48Yuriy LyfenkoYuriy LyfenkoScore: 4,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 02:484,403544,277,04112,078,0002,013,0002,260,992
2Jun 12, 2024 02:484,434536,665,18213,177,0001,013,0002,265,088
3Jun 12, 2024 02:484,445539,139,13413,209,0001,016,0002,260,992
4Jun 12, 2024 02:484,455540,361,49913,238,0001,018,0002,523,136
5Jun 12, 2024 02:484,460537,368,93614,271,00002,523,136
6Jun 12, 2024 02:484,460539,199,77113,254,0001,019,0002,265,088
7Jun 12, 2024 02:484,466537,566,39814,291,00002,260,992
8Jun 12, 2024 02:484,468542,802,71913,278,0001,021,0002,523,136
9Jun 12, 2024 02:484,475535,678,36114,320,00002,265,088
10Jun 12, 2024 02:484,622574,522,66814,790,48002,244,608
11Jun 12, 2024 02:484,623570,122,77214,792,78102,281,472
12Jun 12, 2024 02:484,656580,787,12314,898,21502,285,568