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:58Nao YonashiroNao YonashiroScore: 4,459Success
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:584,42630,778,78212,141,0002,023,0002,535,424
2Aug 7, 2024 05:584,42935,865,57612,149,0002,024,0002,273,280
3Aug 7, 2024 05:584,43029,867,59612,151,0002,025,0002,437,120
4Aug 7, 2024 05:584,43032,909,81012,152,0002,025,0002,535,424
5Aug 7, 2024 05:584,44730,404,63612,197,0002,032,0002,445,312
6Aug 7, 2024 05:584,44930,464,06112,204,0002,034,0002,535,424
7Aug 7, 2024 05:584,45938,661,89812,232,0002,038,0002,441,216
8Aug 7, 2024 05:584,46333,346,99913,263,0001,020,0002,273,280
9Aug 7, 2024 05:584,46632,837,78313,270,0001,020,0002,535,424
10Aug 7, 2024 05:584,70682,065,79215,058,92902,252,800
11Aug 7, 2024 05:584,73897,198,89215,162,71802,203,648
12Aug 7, 2024 05:584,74087,745,42415,167,93902,195,456