static long toK(long l) { ret (l+1023)/1024; }