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 3, 2023 20:50Hal FHal FScore: 4,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:504,74831,755,43013,167,0002,025,0002,269,184
2Jan 3, 2023 20:504,75431,924,45913,185,0002,028,0002,289,664
3Jan 3, 2023 20:504,76536,765,87013,216,0002,033,0002,289,664
4Jan 3, 2023 20:504,76538,399,05813,216,0002,033,0002,289,664
5Jan 3, 2023 20:504,77939,574,41013,254,0002,039,0002,273,280
6Jan 3, 2023 20:504,81443,844,62713,351,0002,054,0002,523,136
7Jan 3, 2023 20:504,82237,058,51713,374,0002,057,0002,269,184
8Jan 3, 2023 20:504,83339,513,62913,404,0002,062,0002,269,184
9Jan 3, 2023 20:504,84036,799,02914,455,0001,032,0002,289,664
10Jan 3, 2023 20:504,99776,441,56515,990,94402,289,664
11Jan 3, 2023 20:505,00679,520,87316,019,10502,285,568
12Jan 3, 2023 20:505,015106,729,48916,047,15302,297,856