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 31, 2024 09:15matsuoka-601matsuoka-601Score: 4,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 09:154,39835,027,34712,065,0002,010,0002,281,472
2Aug 31, 2024 09:154,39829,061,77412,065,0002,010,0002,445,312
3Aug 31, 2024 09:154,40241,436,88612,073,0002,012,0002,277,376
4Aug 31, 2024 09:154,40434,039,38612,081,0002,013,0002,441,216
5Aug 31, 2024 09:154,41429,950,21812,108,0002,018,0002,277,376
6Aug 31, 2024 09:154,41545,564,03212,111,0002,018,0002,277,376
7Aug 31, 2024 09:154,41631,514,15812,112,0002,018,0002,281,472
8Aug 31, 2024 09:154,41830,170,80512,119,0002,019,0002,453,504
9Aug 31, 2024 09:154,42236,200,29712,130,0002,021,0002,281,472
10Aug 31, 2024 09:154,42829,749,96712,147,0002,024,0002,281,472
11Aug 31, 2024 09:154,43036,334,69412,150,0002,025,0002,449,408
12Aug 31, 2024 09:154,43630,572,18813,181,0001,013,0002,441,216