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 listSep 17, 2024 19:12Matvey BunosMatvey BunosScore: 11,057Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:1210,97364,388,1466,019,00029,095,0002,289,664
2Sep 17, 2024 19:1211,03061,134,2799,076,00026,221,0002,281,472
3Sep 17, 2024 19:1211,03562,971,4686,053,00029,258,0002,289,664
4Sep 17, 2024 19:1211,04959,204,12311,112,00024,245,0002,510,848
5Sep 17, 2024 19:1211,05762,005,2554,043,00031,338,0002,289,664
6Sep 17, 2024 19:1211,13566,238,1469,162,00026,469,0002,510,848
7Sep 17, 2024 19:1211,20368,562,04911,949,00023,899,0002,510,848
8Sep 17, 2024 19:1211,20968,903,51011,956,00023,912,0002,510,848
9Sep 17, 2024 19:1211,26264,055,6496,006,00030,031,0002,289,664