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 4, 2023 22:33Hal FHal FScore: 4,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2023 22:334,72336,035,01513,100,0002,015,0002,289,664
2Jan 4, 2023 22:334,73137,893,58713,122,0002,018,0002,289,664
3Jan 4, 2023 22:334,73332,243,39913,127,0002,019,0002,269,184
4Jan 4, 2023 22:334,73840,184,86713,141,0002,021,0002,273,280
5Jan 4, 2023 22:334,74542,024,72114,172,0001,012,0002,289,664
6Jan 4, 2023 22:334,74531,081,39914,173,0001,012,0002,289,664
7Jan 4, 2023 22:334,74743,599,96113,166,0002,025,0002,273,280
8Jan 4, 2023 22:334,76836,399,62213,223,0002,034,0002,289,664
9Jan 4, 2023 22:334,76937,692,67813,227,0002,034,0002,379,776
10Jan 4, 2023 22:334,98284,669,66015,943,15502,301,952
11Jan 4, 2023 22:334,98361,761,91815,945,98802,297,856
12Jan 4, 2023 22:335,03291,213,76916,101,03502,174,976