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 listNov 7, 2024 16:00CountHarebourgCountHarebourgScore: 5,786Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 16:005,75341,346,96416,366,0002,045,0002,289,664
2Nov 7, 2024 16:005,75545,047,07516,371,0002,046,0002,527,232
3Nov 7, 2024 16:025,75940,144,98716,381,0002,047,0002,289,664
4Nov 7, 2024 16:025,76240,533,25416,390,0002,048,0002,289,664
5Nov 7, 2024 16:005,78239,519,51917,475,0001,027,0002,269,184
6Nov 7, 2024 16:005,78339,458,94216,451,0002,056,0002,277,376
7Nov 7, 2024 16:005,78638,456,09417,486,0001,028,0002,289,664
8Nov 7, 2024 16:005,79840,775,48517,522,0001,030,0002,265,088
9Nov 7, 2024 16:005,81348,749,38518,603,00002,355,200
10Nov 7, 2024 16:025,82338,707,93717,598,0001,035,0002,289,664
11Nov 7, 2024 16:005,95056,590,51117,035,0002,004,0002,269,184
12Nov 7, 2024 16:006,37649,603,04717,489,0002,914,0002,281,472