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 21:28Joad NacerJoad NacerScore: 4,976Success
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 21:284,95332,876,65214,859,000990,0002,523,136
2Apr 17, 2024 21:284,95434,924,51113,872,0001,981,0002,523,136
3Apr 17, 2024 21:284,96244,237,93113,893,0001,984,0002,289,664
4Apr 17, 2024 21:284,96343,630,38214,890,000992,0002,289,664
5Apr 17, 2024 21:284,96446,294,56413,899,0001,985,0002,527,232
6Apr 17, 2024 21:284,96832,236,29113,912,0001,987,0002,289,664
7Apr 17, 2024 21:284,97643,437,42213,933,0001,990,0002,289,664
8Apr 17, 2024 21:284,98732,900,34413,963,0001,994,0002,273,280
9Apr 17, 2024 21:285,00936,412,52114,025,0002,003,0002,527,232
10Apr 17, 2024 21:285,14598,016,22216,462,85702,297,856
11Apr 17, 2024 21:285,15198,792,17416,483,59202,297,856
12Apr 17, 2024 21:285,16663,418,66816,530,77902,174,976