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 24, 2024 00:50emily graceemily graceScore: 4,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 00:504,65535,088,48112,909,0001,986,0002,289,664
2Jul 24, 2024 00:504,65530,561,06313,903,000993,0002,277,376
3Jul 24, 2024 00:504,66030,623,64512,923,0001,988,0002,289,664
4Jul 24, 2024 00:504,67531,966,32312,966,0001,994,0002,269,184
5Jul 24, 2024 00:504,67833,649,25212,974,0001,996,0002,289,664
6Jul 24, 2024 00:504,68136,129,29812,983,0001,997,0002,289,664
7Jul 24, 2024 00:504,68237,904,62212,984,0001,997,0002,347,008
8Jul 24, 2024 00:504,68937,064,04413,005,0002,000,0002,289,664
9Jul 24, 2024 00:504,70938,206,74213,061,0002,009,0002,289,664
10Jul 24, 2024 00:504,91683,315,37015,732,35002,293,760
11Jul 24, 2024 00:504,94696,906,98615,826,16402,174,976
12Jul 24, 2024 00:505,00195,062,77616,003,54402,289,664