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 listApr 17, 2024 00:19Joad NacerJoad NacerScore: 5,627Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:195,57950,381,28815,869,0001,983,0002,289,664
2Apr 17, 2024 00:195,58938,520,43516,832,0001,052,0002,289,664
3Apr 17, 2024 00:195,58948,187,62015,897,0001,987,0002,269,184
4Apr 17, 2024 00:195,60634,880,75115,945,0001,993,0002,383,872
5Apr 17, 2024 00:195,61439,657,94215,970,0001,996,0002,273,280
6Apr 17, 2024 00:195,61546,043,64515,972,0001,996,0002,269,184
7Apr 17, 2024 00:195,62736,262,19016,007,0002,000,0002,289,664
8Apr 17, 2024 00:195,63240,437,76817,022,0001,001,0002,289,664
9Apr 17, 2024 00:195,63441,808,57817,029,0001,001,0002,269,184
10Apr 17, 2024 00:195,68077,599,17518,177,30302,191,360
11Apr 17, 2024 00:195,70695,021,62018,258,10202,174,976
12Apr 17, 2024 00:195,76681,533,59018,452,52202,297,856