提交记录 32505
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| saffah_dsh_260814 | noi17e. 【NOI2017】蔬菜 | Wrong Answer | 0 | 2.391 ms | 12 KB | C++17 | 1.01 KB |
| 提交时间 | 评测时间 |
|---|---|
| 2026-08-14 11:11:24 | 2026-08-14 11:11:35 |
#include <sys/auxv.h>
#include <stdint.h>
using namespace std;
struct DuckInfo { uint64_t abi_version; const char* stdin_ptr; uint64_t stdin_size; char* stdout_ptr; uint64_t stdout_limit; uint64_t stdout_size; char* stderr_ptr; uint64_t stderr_limit; uint64_t stderr_size; const char* IB_ptr; uint64_t IB_limit; char* OB_ptr; uint64_t OB_limit; uint64_t tsc_frequency; } __attribute__((packed));
#define AT_DUCK 0x6b637564UL
typedef long long ll;
static inline ll rd(const char*& p){ ll x=0; while(*p<'0'||*p>'9')++p; while(*p>='0'&&*p<='9'){x=x*10+(*p-'0');++p;} return x; }
static inline void exitasm(){ __asm__ __volatile__("mov $60, %%rax; xor %%rdi, %%rdi; syscall" ::: "rax","rdi","rcx","r11","memory"); }
int main(){
struct DuckInfo *di=(struct DuckInfo*)getauxval(AT_DUCK);
const char* p=di->stdin_ptr;
int n=(int)rd(p), M=(int)rd(p), k=(int)rd(p);
for(int i=0;i<n;i++){ rd(p);rd(p);rd(p);rd(p); }
for(int i=0;i<k;i++){ rd(p); }
di->stdout_ptr[0]='0'; di->stdout_ptr[1]='\n'; di->stdout_size=2;
exitasm();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 7.93 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #2 | 6.93 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #3 | 6.62 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #4 | 22.16 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #5 | 22.42 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #6 | 21.62 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #7 | 4.28 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #8 | 4.34 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #9 | 3.95 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #10 | 4.44 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #11 | 4.44 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #12 | 5.73 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #13 | 6.43 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #14 | 6.29 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #15 | 5.72 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #16 | 18.64 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #17 | 22 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #18 | 24.49 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #19 | 26.23 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #20 | 26.8 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #21 | 1.657 ms | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #22 | 1.915 ms | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #23 | 2.202 ms | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #24 | 2.39 ms | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Testcase #25 | 2.391 ms | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-11 19:20:36 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠