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 26, 2024 13:45vahookvahookScore: 4,286Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:454,26339,032,49913,643,00002,277,376
2Aug 26, 2024 13:454,27330,260,39213,672,00002,277,376
3Aug 26, 2024 13:454,27437,720,36112,626,0001,052,0002,277,376
4Aug 26, 2024 13:454,27831,755,14713,688,00002,273,280
5Aug 26, 2024 13:454,28143,392,97013,699,00002,535,424
6Aug 26, 2024 13:454,28239,930,96913,701,00002,277,376
7Aug 26, 2024 13:454,28634,154,94813,716,00002,277,376
8Aug 26, 2024 13:454,33730,572,46112,886,000991,0002,494,464
9Aug 26, 2024 13:454,34727,914,92812,916,000993,0002,277,376
10Aug 26, 2024 13:454,53188,761,42014,499,17302,248,704
11Aug 26, 2024 13:454,54755,289,88914,551,10102,240,512
12Aug 26, 2024 13:454,54973,200,69914,558,11502,240,512