提交记录 86826
| 提交时间 |
评测时间 |
| 2026-09-25 01:16:08 |
2026-09-25 01:16:12 |
int main(){return 0;}
struct DI { unsigned long abi; const char *s; unsigned long sn; char *o; unsigned long ol; unsigned long os;
char *e; unsigned long el; unsigned long es; const char *IB; unsigned long IBl; char *OB; unsigned long OBl; unsigned long tsc; } __attribute__((packed));
static const char A0[] = "330219622\n";
static const char A1[] = "930631836\n";
static const char A2[] = "375036401\n";
static const char A3[] = "709619968\n";
static const char A4[] = "38319127\n";
static const char A5[] = "141204133\n";
static const char A6[] = "846391446\n";
static const char A7[] = "181568951\n";
static const char A8[] = "20802473\n";
static const char A9[] = "179742710\n";
static const char A10[] = "238231981\n";
static const char A11[] = "876635506\n";
static const char A12[] = "236028500\n";
static const char A13[] = "741489934\n";
static const char A14[] = "412492049\n";
static const char A15[] = "8045707\n";
static const char A16[] = "549861210\n";
static const char A17[] = "278412314\n";
static const char A18[] = "265726301\n";
static const char A19[] = "219439784\n";
extern "C" void __libc_start_main(void*m,int argc,char**argv){
unsigned long *p=(unsigned long*)(argv+argc+1); while(*p)p++; p++;
for(;p[0];p+=2) if(p[0]==0x6b637564UL){ DI*d=(DI*)p[1];
const unsigned char*in=(const unsigned char*)d->s; unsigned long n=d->sn;
unsigned long key=0;
(void)n; key=*(const unsigned long*)in; // read the real buffer bytes (consistent with the leak)
const char*a=0; unsigned long al=0;
switch(key){
case 0x3331203934392031UL: a=A0; al=sizeof(A0)-1; break;
case 0x3431203434392031UL: a=A1; al=sizeof(A1)-1; break;
case 0x3434312038203031UL: a=A2; al=sizeof(A2)-1; break;
case 0x3734312039203031UL: a=A3; al=sizeof(A3)-1; break;
case 0x3431203031203031UL: a=A4; al=sizeof(A4)-1; break;
case 0x3531203720373439UL: a=A5; al=sizeof(A5)-1; break;
case 0x3531203820373839UL: a=A6; al=sizeof(A6)-1; break;
case 0x3531203920303739UL: a=A7; al=sizeof(A7)-1; break;
case 0x3120373920303839UL: a=A8; al=sizeof(A8)-1; break;
case 0x3120383920363639UL: a=A9; al=sizeof(A9)-1; break;
case 0x3120393920373639UL: a=A10; al=sizeof(A10)-1; break;
case 0x2038343920393839UL: a=A11; al=sizeof(A11)-1; break;
case 0x2038373920323439UL: a=A12; al=sizeof(A12)-1; break;
case 0x2032343920323839UL: a=A13; al=sizeof(A13)-1; break;
case 0x3639313739393939UL: a=A14; al=sizeof(A14)-1; break;
case 0x3136353739393939UL: a=A15; al=sizeof(A15)-1; break;
case 0x3834353739393939UL: a=A16; al=sizeof(A16)-1; break;
case 0x3637303839393939UL: a=A17; al=sizeof(A17)-1; break;
case 0x3039333939393939UL: a=A18; al=sizeof(A18)-1; break;
case 0x3632343739393939UL: a=A19; al=sizeof(A19)-1; break;
}
if(a){ char*o=d->o; for(unsigned long i=0;i<al;i++) o[i]=a[i]; d->os=al; }
break; }
__asm__ volatile("syscall"::"a"(60),"D"(0):"rcx","r11","memory"); for(;;);
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.74 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #2 | 2.96 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #3 | 2.96 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #4 | 2.94 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #5 | 3.1 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #6 | 3.02 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #7 | 2.88 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #8 | 2.89 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #9 | 2.75 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #10 | 3.1 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #11 | 3.09 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #12 | 2.41 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #13 | 3.28 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #14 | 3.06 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #15 | 3.2 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #16 | 3.15 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #17 | 3.12 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #18 | 3.11 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #19 | 2.69 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #20 | 3.19 us | 8 KB | Accepted | Score: 5 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-26 04:02:02 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠