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 17, 2024 05:10Yuriy LyfenkoYuriy LyfenkoScore: 4,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:104,54839,732,89213,516,0001,039,0002,396,160
2Aug 17, 2024 05:104,56439,005,89813,562,0001,043,0002,387,968
3Aug 17, 2024 05:104,56831,453,53313,572,0001,044,0002,269,184
4Aug 17, 2024 05:104,57140,347,31814,626,00002,269,184
5Aug 17, 2024 05:104,57136,754,38614,627,00002,269,184
6Aug 17, 2024 05:104,57136,660,57313,583,0001,044,0002,269,184
7Aug 17, 2024 05:104,57442,331,01813,591,0001,045,0002,392,064
8Aug 17, 2024 05:104,58434,776,08213,623,0001,047,0002,269,184
9Aug 17, 2024 05:104,59532,719,91114,705,00002,269,184
10Aug 17, 2024 05:104,86580,985,76015,567,10702,273,280
11Aug 17, 2024 05:104,88589,238,82815,633,49202,273,280
12Aug 17, 2024 05:104,92987,057,38715,774,15602,281,472