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 listJul 23, 2022 00:21Robert BurkeRobert BurkeScore: 4,740Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:214,70031,447,19513,035,0002,005,0002,445,312
2Jul 23, 2022 00:214,72136,439,28913,092,0002,014,0002,449,408
3Jul 23, 2022 00:214,72134,746,04713,093,0002,014,0002,449,408
4Jul 23, 2022 00:214,73234,880,24913,123,0002,018,0002,281,472
5Jul 23, 2022 00:214,73437,251,69613,130,0002,020,0002,281,472
6Jul 23, 2022 00:214,73733,615,98213,137,0002,021,0002,449,408
7Jul 23, 2022 00:214,74030,058,81813,147,0002,022,0002,281,472
8Jul 23, 2022 00:214,74234,229,89713,151,0002,023,0002,449,408
9Jul 23, 2022 00:214,75635,961,02213,191,0002,029,0002,281,472
10Jul 23, 2022 00:214,96682,066,49915,892,45002,207,744
11Jul 23, 2022 00:214,97979,049,22015,933,27502,207,744
12Jul 23, 2022 00:214,98760,495,52015,957,96002,203,648