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 3, 2024 19:43jeffplaisancejeffplaisanceScore: 4,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 19:434,36634,142,65612,974,000998,0002,498,560
2Aug 3, 2024 19:434,37929,397,32513,013,0001,001,0002,277,376
3Aug 3, 2024 19:434,38031,533,87013,014,0001,001,0002,277,376
4Aug 3, 2024 19:434,39529,811,85513,061,0001,004,0002,269,184
5Aug 3, 2024 19:434,39727,434,93013,065,0001,005,0002,277,376
6Aug 3, 2024 19:434,39833,594,65913,070,0001,005,0002,277,376
7Aug 3, 2024 19:434,40029,723,42713,076,0001,005,0002,502,656
8Aug 3, 2024 19:434,40030,870,29813,076,0001,005,0002,494,464
9Aug 3, 2024 19:434,41132,410,49513,107,0001,008,0002,494,464
10Aug 3, 2024 19:434,66180,224,53914,914,32902,240,512
11Aug 3, 2024 19:434,68171,453,58714,978,46702,248,704
12Aug 3, 2024 19:434,69579,453,49415,023,35402,367,488