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 7, 2024 05:45Nao YonashiroNao YonashiroScore: 4,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 05:454,42831,514,09812,145,0002,024,0002,445,312
2Aug 7, 2024 05:454,42830,390,64712,145,0002,024,0002,273,280
3Aug 7, 2024 05:454,43931,846,02312,175,0002,029,0002,535,424
4Aug 7, 2024 05:454,43933,226,20912,177,0002,029,0002,273,280
5Aug 7, 2024 05:454,44130,073,59313,197,0001,015,0002,273,280
6Aug 7, 2024 05:454,44630,846,80612,194,0002,032,0002,449,408
7Aug 7, 2024 05:454,44743,272,08712,197,0002,032,0002,273,280
8Aug 7, 2024 05:454,46130,539,73213,256,0001,019,0002,441,216
9Aug 7, 2024 05:454,46534,408,23413,268,0001,020,0002,273,280
10Aug 7, 2024 05:454,71785,033,48615,094,13502,191,360
11Aug 7, 2024 05:454,73192,161,03815,140,53902,199,552
12Aug 7, 2024 05:454,73176,382,28915,140,06302,203,648