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 23, 2024 16:16Gokberk YaltirakliGokberk YaltirakliScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 16:165,67133,935,52117,139,0001,008,0002,281,472
2Jan 23, 2024 16:165,68040,790,83916,157,0002,019,0002,289,664
3Jan 23, 2024 16:165,69345,284,74717,206,0001,012,0002,269,184
4Jan 23, 2024 16:165,71734,655,26616,262,0002,032,0002,289,664
5Jan 23, 2024 16:165,72340,853,97516,280,0002,035,0002,523,136
6Jan 23, 2024 16:165,72443,284,74116,282,0002,035,0002,273,280
7Jan 23, 2024 16:165,72434,485,91316,283,0002,035,0002,265,088
8Jan 23, 2024 16:165,72942,224,99817,315,0001,018,0002,289,664
9Jan 23, 2024 16:165,75243,465,64416,360,0002,045,0002,273,280
10Jan 23, 2024 16:165,90590,334,21118,895,97802,293,760
11Jan 23, 2024 16:165,91378,056,37018,922,33802,301,952
12Jan 23, 2024 16:165,928102,433,85818,969,91902,301,952