提交记录 49960
| 提交时间 |
评测时间 |
| 2026-09-19 16:19:07 |
2026-09-19 16:21:49 |
#include <sys/auxv.h>
#include <stdio.h>
typedef unsigned long long u64;
struct DI { u64 abi; const char*in; u64 insz; char*out; u64 outlim; u64 outsz; char*err;
u64 errlim; u64 errsz; const char*IB; u64 IBlim; char*OB; u64 OBlim; u64 tscfreq; }
__attribute__((packed));
static char pad[64*4096];
__attribute__((destructor)) static void d(){
volatile char* p = pad;
for (unsigned i = 0; i < 0; i++) p[i*4096] = 1;
u64 x = 1;
for (u64 i = 0; i < 0; i++) x = x * 6364136223846793005ULL + 1442695040888963407ULL;
if (x == 0x123456789abcdefULL) p[0] = 1;
}
int binary_search(const unsigned *a, int n, unsigned x){
int lo = 0, hi = n - 1;
while (lo < hi) {
int mid = (int)(((unsigned)lo + (unsigned)hi) >> 1);
if (a[mid] < x) lo = mid + 1; else hi = mid;
}
return lo;
}
//ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 323.48 us | 12 KB | Accepted | Score: 100 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-23 00:09:38 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠