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 2, 2023 16:33Jack FrigaardJack FrigaardScore: 4,916Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:334,86032,168,89714,517,0001,036,0002,269,184
2Jan 2, 2023 16:334,86832,525,06914,541,0001,038,0002,285,568
3Jan 2, 2023 16:334,87045,158,04414,546,0001,039,0002,527,232
4Jan 2, 2023 16:334,89133,571,88814,607,0001,043,0002,527,232
5Jan 2, 2023 16:334,91347,990,89714,673,0001,048,0002,285,568
6Jan 2, 2023 16:334,91436,737,44814,677,0001,048,0002,285,568
7Jan 2, 2023 16:334,91644,019,22115,731,00002,285,568
8Jan 2, 2023 16:334,95641,953,54814,868,000991,0002,363,392
9Jan 2, 2023 16:334,95736,564,23814,871,000991,0002,285,568
10Jan 2, 2023 16:335,11494,824,30916,363,81202,289,664
11Jan 2, 2023 16:335,12875,339,47516,409,37302,297,856
12Jan 2, 2023 16:335,16659,515,36216,529,64502,289,664