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 listAug 12, 2024 21:18vahookvahookScore: 5,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2024 21:185,01234,500,27314,034,0002,004,0002,408,448
2Aug 12, 2024 21:185,01841,180,96916,056,00002,392,064
3Aug 12, 2024 21:185,02832,175,01214,080,0002,011,0002,281,472
4Aug 12, 2024 21:185,02944,828,73015,088,0001,005,0002,404,352
5Aug 12, 2024 21:185,03138,882,22714,087,0002,012,0002,510,848
6Aug 12, 2024 21:185,03139,024,43915,093,0001,006,0002,281,472
7Aug 12, 2024 21:185,03637,424,29114,100,0002,014,0002,281,472
8Aug 12, 2024 21:185,04643,425,74714,128,0002,018,0002,281,472
9Aug 12, 2024 21:185,04638,735,76114,130,0002,018,0002,281,472
10Aug 12, 2024 21:185,26678,757,33016,851,79102,289,664
11Aug 12, 2024 21:185,27078,459,12616,863,34602,306,048
12Aug 12, 2024 21:185,29485,562,17216,940,23202,301,952