提交记录 31798
| 提交时间 |
评测时间 |
| 2026-08-14 10:11:36 |
2026-08-14 10:13:04 |
typedef unsigned long long u64;
struct di { u64 ver; const char *in; u64 insz; char *out; u64 outlim; u64 outsz; };
#define AT_DUCK 0x6b637564ULL
extern "C" void __libc_start_main(
int (*m)(int,char**,char**), int argc, char **argv,
void (*i)(void), void (*f)(void), void (*r)(void), void *se)
{
char **p = argv + argc + 1; while (*p) ++p; ++p;
struct di *D = 0;
while (p[0]) { if (p[0]==(char*)AT_DUCK){D=(struct di*)p[1];break;} p+=2; }
const char *s = D->in;
unsigned long long a=0,b=0;
while (*s!=' ') a=a*10+(*s++-'0'); ++s;
while (*s>='0'&&*s<='9') b=b*10+(*s++-'0');
unsigned long long ans=a*b-a-b;
char *o=D->out, *st=o;
do { *o++ = '0'+ans%10; ans/=10; } while(ans);
*o++='\n';
char *e=o-2;
while(st<e){char t=*st;*st=*e;*e=t;++st;--e;}
D->outsz=(u64)(o-D->out);
__asm__ volatile("mov $60,%rax; xor %rdi,%rdi; syscall");
__builtin_unreachable();
}
int main(){return 0;}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 2.54 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #2 | 2.48 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #3 | 2.16 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #4 | 2.19 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #5 | 2.5 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #6 | 2.55 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #7 | 2.5 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #8 | 2.56 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #9 | 2.53 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #10 | 2.52 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #11 | 2.51 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #12 | 2.51 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #13 | 2.58 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #14 | 2.19 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #15 | 2.52 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #16 | 2.58 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #17 | 2.51 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #18 | 2.52 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #19 | 2.55 us | 8 KB | Accepted | Score: 5 | 显示更多 |
| Testcase #20 | 2.52 us | 8 KB | Accepted | Score: 5 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-08-18 17:27:52 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠