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 listDec 21, 2024 22:40KeKazartsevKeKazartsevScore: 47,523Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 22:4047,338176,170,861125,400,00026,083,0002,285,568
2Dec 21, 2024 22:4047,366178,646,773124,470,00027,102,0002,289,664
3Dec 21, 2024 22:4047,431179,566,226122,821,00028,957,0002,285,568
4Dec 21, 2024 22:4047,506174,779,610125,016,00027,003,0002,277,376
5Dec 21, 2024 22:4047,523175,508,135122,060,00030,014,0002,285,568
6Dec 21, 2024 22:4047,529180,400,644123,075,00029,017,0002,285,568
7Dec 21, 2024 22:4047,641173,486,096124,368,00028,083,0002,359,296
8Dec 21, 2024 22:4047,652174,929,465125,400,00027,086,0002,285,568
9Dec 21, 2024 22:4047,813176,465,810125,000,00028,000,0002,285,568