content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
#include <u.h>
#include <libc.h>
#include <fcall.h>
int
statcheck(uchar *buf, uint nbuf)
{
uchar *ebuf;
int i;
ebuf = buf + nbuf;
if(nbuf < STATFIXLEN || nbuf != BIT16SZ + GBIT16(buf))
return -1;
buf += STATFIXLEN - 4 * BIT16SZ;
for(i = 0; i < 4; i++){
if(buf + BIT16SZ > ebuf)
return -1;
buf += BIT1... | __label__POS | 0.833562 |
#include <u.h>
#include <libc.h>
#include <fcall.h>
static
uchar*
pstring(uchar *p, char *s)
{
uint n;
if(s == nil){
PBIT16(p, 0);
p += BIT16SZ;
return p;
}
n = strlen(s);
PBIT16(p, n);
p += BIT16SZ;
memmove(p, s, n);
p += n;
return p;
}
static
uchar*
pqid(uchar *p, Qid *q)
{
PBIT8(p, q->type);
p +... | __label__POS | 0.913518 |
#include <u.h>
#include <libc.h>
#include <fcall.h>
uint
sizeD2M(Dir *d)
{
char *sv[4];
int i, ns;
sv[0] = d->name;
sv[1] = d->uid;
sv[2] = d->gid;
sv[3] = d->muid;
ns = 0;
for(i = 0; i < 4; i++)
if(sv[i])
ns += strlen(sv[i]);
return STATFIXLEN + ns;
}
uint
convD2M(Dir *d, uchar *buf, uint nbuf)
{
u... | __label__POS | 0.773726 |
#include <u.h>
#include <libc.h>
static char qsep[] = " \t\r\n";
static char*
qtoken(char *s, char *sep)
{
int quoting;
char *t;
quoting = 0;
t = s; /* s is output string, t is input string */
while(*t!='\0' && (quoting || utfrune(sep, *t)==nil)){
if(*t != '\''){
*s++ = *t++;
continue;
}
/* *t is a ... | __label__POS | 0.873119 |
#include <u.h>
#include <libc.h>
#include <auth.h>
#include <mp.h>
#include <libsec.h>
enum {
TLSFinishedLen = 12,
HFinished = 20,
};
static int
finished(int hand, int isclient)
{
int i, n;
uchar buf[500], buf2[500];
buf[0] = HFinished;
buf[1] = TLSFinishedLen>>16;
buf[2] = TLSFinishedLen>>8;
buf[3] = TLSFin... | __label__POS | 0.696984 |
#include <u.h>
#include <libc.h>
#define VLONG_MAX ((vlong)~(((uvlong)1)<<63))
#define VLONG_MIN ((vlong)(((uvlong)1)<<63))
vlong
strtoll(const char *nptr, char **endptr, int base)
{
char *p;
vlong n, nn, m;
int c, ovfl, v, neg, ndig;
p = (char*)nptr;
neg = 0;
n = 0;
ndig = 0;
ovfl = 0;
/*
* White space
*/... | __label__POS | 0.743866 |
#include "os.h"
#include <libsec.h>
/* rfc2104 */
static DigestState*
hmac_x(uchar *p, ulong len, uchar *key, ulong klen, uchar *digest, DigestState *s,
DigestState*(*x)(uchar*, ulong, uchar*, DigestState*), int xlen)
{
int i;
uchar pad[65], innerdigest[256];
if(xlen > sizeof(innerdigest))
return nil;
if(klen... | __label__POS | 0.67602 |
#include "os.h"
#include <mp.h>
#include <libsec.h>
// Miller-Rabin probabilistic primality testing
// Knuth (1981) Seminumerical Algorithms, p.379
// Menezes et al () Handbook, p.39
// 0 if composite; 1 if almost surely prime, Pr(err)<1/4**nrep
int
probably_prime(mpint *n, int nrep)
{
int j, k, rep, nbits, isprime =... | __label__POS | 0.904553 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>PoCBox - Vulnerability Test Aid Platform</title>
<link rel="stylesheet" href="./layui/css/layui.css">
<link rel="stylesheet" href="./static/index.css">
<link rel="icon" href=... | __label__POS | 0.757364 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>PoCBox - PoC在线生成&验证平台</title>
<link rel="stylesheet" href="./layui/css/layui.css">
<link rel="stylesheet" href="./static/index.css">
<link rel="icon" href="./favicon.ico" typ... | __label__POS | 0.840046 |
#include "os.h"
#include <mp.h>
#include <libsec.h>
typedef struct State{
QLock lock;
int seeded;
uvlong seed;
DES3state des3;
} State;
static State x917state;
static void
X917(uchar *rand, int nrand)
{
int i, m, n8;
uvlong I, x;
/* 1. Compute intermediate value I = Ek(time). */
I = nsec();
triple_block_... | __label__POS | 0.601398 |
#include "os.h"
#include <mp.h>
// extended euclid
//
// For a and b it solves, d = gcd(a,b) and finds x and y s.t.
// ax + by = d
//
// Handbook of Applied Cryptography, Menezes et al, 1997, pg 67
void
mpeuclid(mpint *a, mpint *b, mpint *d, mpint *x, mpint *y)
{
mpint *tmp, *x0, *x1, *x2, *y0, *y1, *y2, *q, *r;
i... | __label__POS | 0.754288 |
#include "os.h"
#include <mp.h>
#include "dat.h"
static mpdigit _mptwodata[1] = { 2 };
static mpint _mptwo =
{
1,
1,
1,
_mptwodata,
MPstatic
};
mpint *mptwo = &_mptwo;
static mpdigit _mponedata[1] = { 1 };
static mpint _mpone =
{
1,
1,
1,
_mponedata,
MPstatic
};
mpint *mpone = &_mpone;
static mpdigit _mpze... | __label__POS | 0.941159 |
#include "os.h"
#include <mp.h>
#include <libsec.h>
#include "dat.h"
static int
to64(mpint *b, char *buf, int len)
{
uchar *p;
int n, rv;
p = nil;
n = mptobe(b, nil, 0, &p);
if(n < 0)
return -1;
rv = enc64(buf, len, p, n);
free(p);
return rv;
}
static int
to32(mpint *b, char *buf, int len)
{
uchar *p;
in... | __label__POS | 0.907585 |
#include "os.h"
#include <mp.h>
#include "dat.h"
#define LO(x) ((x) & ((1<<(Dbits/2))-1))
#define HI(x) ((x) >> (Dbits/2))
static void
mpdigmul(mpdigit a, mpdigit b, mpdigit *p)
{
mpdigit x, ah, al, bh, bl, p1, p2, p3, p4;
int carry;
// half digits
ah = HI(a);
al = LO(a);
bh = HI(b);
bl = LO(b);
// partial ... | __label__POS | 0.791357 |
#include "os.h"
#include <mp.h>
#include <libsec.h>
// chinese remainder theorem
//
// handbook of applied cryptography, menezes et al, 1997, pp 610 - 613
struct CRTpre
{
int n; // number of moduli
mpint **m; // pointer to moduli
mpint **c; // precomputed coefficients
mpint **p; // precomputed products
mpint... | __label__POS | 0.72987 |
#include <u.h>
#include <libc.h>
#include <draw.h>
static char channames[] = "rgbkamx";
char*
chantostr(char *buf, ulong cc)
{
ulong c, rc;
char *p;
if(chantodepth(cc) == 0)
return nil;
/* reverse the channel descriptor so we can easily generate the string in the right order */
rc = 0;
for(c=cc; c; c>>=8){
... | __label__POS | 0.905406 |
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
#include "draw.h"
#include "memdraw.h"
#include "screen.h"
int mousequeue = 1;
Mouseinfo mouse;
Cursorinfo cursor;
static int mousechanged(void*);
enum{
Qdir,
Qcursor,
Qmouse
};
Dirtab mousedir[]={
".", {Qdir, 0, QTDIR}, 0, ... | __label__POS | 0.664997 |
/*
* Linux and BSD
*/
#include <sys/ioctl.h>
#ifdef __linux__
#include <linux/soundcard.h>
#else
#include <sys/soundcard.h>
#endif
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
#include "devaudio.h"
enum
{
Channels = 2,
Rate = 44100,
Bits = 16,
Bigendian = 1,
};
static int... | __label__POS | 0.830161 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<w:styles xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w14="http://schemas.microsof... | __label__POS | 0.613204 |
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
#include "user.h"
#undef open
#undef mount
#undef read
#undef write
#undef seek
#undef stat
#undef wstat
#undef remove
#undef close
#undef fstat
#undef fwstat
/*
* The sys*() routines needn't poperror() as they return directly to sy... | __label__POS | 0.69681 |
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
void
mallocsummary(void)
{
}
void
pagersummary(void)
{
}
int
iseve(void)
{
return 1;
}
void
setswapchan(Chan *c)
{
USED(c);
}
void
splx(int x)
{
USED(x);
}
int
splhi(void)
{
return 0;
}
int
spllo(void)
{
return 0;
}
void
p... | __label__POS | 0.725525 |
### 2025.7.5
### 时长:1h20min
1. String ,string builder和string buffer它们的区别是什么
2. 都适用于什么场景?或者你在开发时候什么场景使用
3. 深拷贝和浅拷贝
4. 深拷贝怎么实现
5. jvm内存模型中,方法区,堆以及这个本地方法栈程序计数器他们的各自作用是什么?
6. jvm内存管理的工作过程
7. hashset和hashmap区别?如何处理哈希冲突
8. concurrentHashMap在jdk1.7和1.8的实现区别
9. 有看过具体的代码实现吗
10. 进程间通信方式。包括线程间通信
11. 进程和线程的区别
12. 一个进程可以有多少个线程
13.... | __label__POS | 0.999751 |
# C++学习笔记
## 一、基础知识
## [📎C++基础入门.md](https://github.com/0voice/cpp_new_features/blob/main/C%2B%2B%E5%9F%BA%E7%A1%80%E5%85%A5%E9%97%A8.md)
### 1、goto 语句(不建议使用)
**作用:** 可以无条件的跳转语句
**语法:** `goto 标记;`
**解释:** 如果标记的名称存在,执行到goto语句时,会跳转到标记的位置
```cpp
int main() {
cout << 1 << endl;
cout << 2 << endl;
goto F... | __label__POS | 0.996144 |
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <memdraw.h>
#include <memlayer.h>
int
memload(Memimage *dst, Rectangle r, uchar *data, int n, int iscompressed)
{
int (*loadfn)(Memimage*, Rectangle, uchar*, int);
Memimage *tmp;
Memlayer *dl;
Rectangle lr;
int dx;
loadfn = loadmemimage;
if(iscompress... | __label__POS | 0.724744 |
> 本文转自:https://mp.weixin.qq.com/s?__biz=MzkyODE5NjU2Mw==&mid=2247484757&idx=1&sn=523a55fcf636113e678f1de297ec4691&chksm=c21d37e9f56abeffca414c0d43d55b36396956735e3cff1c13e1a229a3d21336371a54da84ce&scene=21#wechat_redirect
**「函数返回值类型推导」**
C++14对函数返回类型推导规则做了优化,先看一段代码:
```cpp
#include <iostream>
using namespace std;
... | __label__POS | 0.994167 |
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"
Chan*
fdtochan(int fd, int mode, int chkmnt, int iref)
{
Fgrp *f;
Chan *c;
c = 0;
f = up->fgrp;
lock(&f->ref.lk);
if(fd<0 || NFD<=fd || (c = f->fd[fd])==0) {
unlock(&f->ref.lk);
error(Ebadfd);
}
if(iref)
refinc(&c->ref... | __label__POS | 0.887468 |
# C++核心编程
本阶段主要针对C++==面向对象==编程技术做详细讲解,探讨C++中的核心和精髓。
## 1 内存分区模型
C++程序在执行时,将内存大方向划分为**4个区域**
- 代码区:存放函数体的二进制代码,由操作系统进行管理的
- 全局区:存放全局变量和静态变量以及常量
- 栈区:由编译器自动分配释放, 存放函数的参数值,局部变量等
- 堆区:由程序员分配和释放,若程序员不释放,程序结束时由操作系统回收
**内存四区意义:**
不同区域存放的数据,赋予不同的生命周期, 给我们更大的灵活编程
### 1.1 程序运行前
在程序编译后,生成了exe可执行程序,**未执行该程序前*... | __label__POS | 0.998533 |
# C++基础入门
## 1 C++初识
### 1.1 第一个C++程序
编写一个C++程序总共分为4个步骤
* 创建项目
* 创建文件
* 编写代码
* 运行程序
#### 1.1.1 创建项目
Visual Studio是我们用来编写C++程序的主要工具,我们先将它打开


#### 1.1.2 创建文件
右键源文件,选择添加->新建项

给C+... | __label__POS | 0.924089 |
### auto & decltype
关于C++11新特性,最先提到的肯定是类型推导,C++11引入了auto和decltype关键字,使用他们可以在编译期就推导出变量或者表达式的类型,方便开发者编码也简化了代码。
- auto:让编译器在编译器就推导出变量的类型,可以通过=右边的类型推导出变量的类型。
```c++
auto a = 10; // 10是int型,可以自动推导出a是int
```
- decltype:相对于auto用于推导变量类型,而decltype则用于推导表达式类型,这里只用于编译器分析表达式的类型,表达式实际不会进行运算。
```c++
cont int &i = 1;int a = 2;dec... | __label__POS | 0.990362 |
#include <u.h>
#include <libc.h>
#include <bio.h>
#include <ctype.h>
#include "authcmdlib.h"
#define TABLEN 8
static char*
defreadln(char *prompt, char *def, int must, int *changed)
{
char pr[512];
char reply[256];
do {
if(def && *def){
if(must)
snprint(pr, sizeof pr, "%s[return = %s]: ", prompt, def);
... | __label__POS | 0.706073 |
#include <u.h>
#include <libc.h>
#include <authsrv.h>
#include <bio.h>
#include "authcmdlib.h"
int
readfile(char *file, char *buf, int n)
{
int fd;
fd = open(file, OREAD);
if(fd < 0){
werrstr("%s: %r", file);
return -1;
}
n = read(fd, buf, n);
close(fd);
return n;
}
int
writefile(char *file, char *buf, in... | __label__POS | 0.999772 |
## 关键字
### constexpr
扩展constexpr使用范围,可用于if语句中,也可用于lambda表达式中。
```c++
#include<iostream>
template<bool ok>
constexpr void foo()
{
//在编译期进行判断,if和else语句不生成代码
if constexpr (ok == true)
{
//当ok为true时,下面的else块不生成汇编代码
std::cout << "ok" << std::endl;
}
else
{
//当ok为false时,上面... | __label__POS | 0.945568 |
#include <u.h>
#include <libc.h>
#include <authsrv.h>
#include <bio.h>
#include "authcmdlib.h"
void
getpass(char *key, char *pass, int check, int confirm)
{
char rpass[32], npass[32];
char *err;
if(pass == nil)
pass = npass;
for(;;){
readln("Password: ", pass, sizeof npass, 1);
if(confirm){
readln("Conf... | __label__POS | 0.69827 |
> 原文链接:https://www.oracle.com/cn/servers/technologies/howto-use-lambda-exp-cpp11.html
### Lambda 表达式不仅具有函数指针的灵活性,还可以通过捕获局部变量提高可扩展性。本文介绍 Lambda 表达式的语法和用法。
### 简介
Lambda 可能是最新的 C++11 标准的典型特性之一。Lambda 表达式把函数看作对象。Lambda 表达式可以像对象一样使用,比如可以将它们赋给变量和作为参数传递,还可以像函数一样对其求值。
当一个函数需要将另一个函数用作参数时,可以使用 Lambda。例如,C qsort() 函数接受一个指向比较函... | __label__POS | 0.944771 |
# C++11新特性之auto和decltype知识点
C++11引入了auto和decltype关键字,使用它们可以在编译期就推导出变量或者表达式的类型,方便开发者编码的同时也简化了代码。
## auto
auto可以让编译器在编译器就推导出变量的类型,看代码:
```c++
auto a = 10; // 10是int型,可以自动推导出a是int
int i = 10;auto b = i; // b是int型
auto d = 2.0; // d是double型
```
这就是auto的基本用法,可以通过=右边的类型推导出变量的类型。
### auto推导规则
直接看代码
代码1:
```c++
int i ... | __label__POS | 0.715837 |
## ✅ 实战示例:分析某股票的技术指标并可视化
### 🧰 使用库:
* `pandas`:处理表格数据
* `numpy`:数值计算
* `matplotlib`:可视化
* `talib`:技术指标计算(如安装有困难可使用 pandas 实现替代版本)
---
### 📦 第一步:加载并预处理股票数据(示例为CSV格式)
```python
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import talib
# 读取本地或下载的日线数据
df = pd.read_csv('stock_data.csv') # ... | __label__POS | 0.940562 |
## ✅ 实战示例:技术指标批量计算与可视化
---
### 🧰 使用库
* `pandas`:处理结构化数据
* `numpy`:数学计算
* `matplotlib`:绘图展示
* `talib`:技术指标计算(可选)
* `tushare`:数据获取(如你还未获取数据,也可以用 CSV)
---
### 🔍 一、读取股票数据(CSV 或 TuShare)
```python
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import talib
# 读取之前下载的日线数据
df = pd.read_csv("dat... | __label__POS | 0.932294 |
#include <u.h>
#include <libc.h>
#include <mp.h>
#include <libsec.h>
#include "SConn.h"
static long
ls(char *p, Dir **dirbuf)
{
int fd;
long n;
Dir *db;
if((db = dirstat(p)) == nil ||
!(db->qid.type & QTDIR) ||
(fd = open(p, OREAD)) < 0 )
return -1;
free(db);
n = dirreadall(fd, dirbuf);
close(fd);
retur... | __label__POS | 0.680554 |
#include <u.h>
#include <libc.h>
#include <mp.h>
#include <libsec.h>
#include "SConn.h"
extern int verbose;
typedef struct ConnState {
uchar secret[SHA1dlen];
ulong seqno;
RC4state rc4;
} ConnState;
typedef struct SS{
int fd; // file descriptor for read/write of encrypted data
int alg; // if nonzero, "alg sha ... | __label__POS | 0.756253 |
#include <iostream>
#include <utility>
#include <vector>
#include <iterator>
class stream
{
public:
using flags_type = int;
public:
flags_type flags() const
{ return flags_; }
/// 以 newf 替换 flags_ 并返回旧值。
flags_type flags(flags_type newf)
{ return std::exchange(flags_, newf); }
p... | __label__POS | 0.997196 |
## <h1 id="cpp_14">C++14新特性</h1>

-----------
<h4 id="cpp_14_01">函数返回值类型推导</h4>
C++14对函数返回类型推导规则做了优化,先看一段代码:
```CPP
#include <iostream>
using namespace std;
auto func(int i) {
return i;
}
int main() {
cout << func(4) <<... | __label__POS | 0.978558 |
1. 小王在一台电脑上编写了一个程序对 256个字符串进行排序(采用归并排序MergeSort)用时2 秒钟,那么用这个程序在给512个字符进行排序的期望时间是多少秒?
2. A和B两人进行网球比赛,约定获胜的人得1分,输的人得 0分,当有一人比对方多2分或者打满 6 次结束,其中A 在每局中胜利的概率为 2/3,B 在每次比赛中有 1/3 的概率获胜,那么到比赛停止时的所打局数的期望值是多少?
3. 请在以下数字的空格间填写 +-x÷()符号,使等式成立(数字之间不可不填).1 2 3 4 5 6 7 8 9 0 = 2023
4. 甲、乙、丙三人玩游戏:从一副扑克牌中选出三张数字不同的数字牌,牌上的数字设为a,b,c,且 ... | __label__POS | 0.999631 |
# 京东面试题视频讲解指导
#### 1. [虚函数表和虚函数表指针的创建时机](https://www.bilibili.com/video/BV1Ct421A7Dn/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [请简述C++类型推导用法](https://www.bilibili.com/video/BV1GE421K7JN/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34c... | __label__POS | 0.997107 |
# 小米面试题视频讲解指导
#### 1. [vector底层原理实现与扩容机制](https://www.bilibili.com/video/BV14uC6Y3Eek/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [类成员初始化顺序?](https://www.bilibili.com/video/BV11tqaYeELy/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc3... | __label__POS | 0.998974 |
# 闪送面试题视频讲解指导
#### 1. [Redis 的分布式锁和 Zookeeper 的分布式锁的区别](https://www.bilibili.com/video/BV1w5B5Y5EeJ/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [Redis分布式锁的实现](https://www.bilibili.com/video/BV13yBTY6EPW/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a... | __label__POS | 0.996316 |
# C++ 量化开发进阶
## 3.1 C++ 在量化系统中的角色定位
**📌 小节导读**
在量化交易系统中,**C++** 是构建高性能、低延迟核心组件的首选语言。其极致的运行效率、强大的并发能力以及对系统资源的精细控制,使得 C++ 成为承担行情接收、撮合引擎、风控及交易接口等关键模块的理想选择。
本节将从量化系统架构的角度,深入讲解 C++ 在系统中的职责分布,探讨它与 **Python** 等上层语言的协同关系,剖析典型 C++ 模块的设计思路与实现细节,并给出实战建议,帮助你全面理解并掌握量化系统中 C++ 的应用价值。
### 🧱 一、C++ 的核心应用场景
在实盘量化交易系统中,C++ 主要集中在如... | __label__POS | 0.971149 |
### 2025.7.5
### 时长:1h20min
1. String ,string builder和string buffer它们的区别是什么
2. 都适用于什么场景?或者你在开发时候什么场景使用
3. 深拷贝和浅拷贝
4. 深拷贝怎么实现
5. jvm内存模型中,方法区,堆以及这个本地方法栈程序计数器他们的各自作用是什么?
6. jvm内存管理的工作过程
7. hashset和hashmap区别?如何处理哈希冲突
8. concurrentHashMap在jdk1.7和1.8的实现区别
9. 有看过具体的代码实现吗
10. 进程间通信方式。包括线程间通信
11. 进程和线程的区别
12. 一个进程可以有多少个线程
13.... | __label__POS | 0.999751 |
# 腾讯面试题视频讲解指导
#### 1. [如何定义只能在栈上生成对象的类](https://www.bilibili.com/video/BV1WogQzaE2t/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [手撕有界环形队列](https://www.bilibili.com/video/BV1zPMSzGE4z/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc3171... | __label__POS | 0.88212 |
# 大华面试题视频讲解指导
#### 1. [协程如何关闭](https://www.bilibili.com/video/BV1gQNde5EEF?spm_id_from=333.788.videopod.sections&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [CSP和共享变量通信有什么区别](https://www.bilibili.com/video/BV15jNueQEQe/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)
... | __label__POS | 0.994678 |
# 百度面试题视频讲解指导
#### 1. [并发与并行的区别?](https://www.bilibili.com/video/BV1z251zUEqk/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [网络IO的流程,介绍一下Reactor](https://www.bilibili.com/video/BV1LefNYwEYr/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34c... | __label__POS | 0.749244 |
# 美团面试题视频讲解指导
#### 1. [跳表和红黑树的区别](https://www.bilibili.com/video/BV15Y59zhEMQ/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [TCP连接中,接收方不调用recv,会发生什么情况?](https://www.bilibili.com/video/BV1p3oRYVEX8/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b... | __label__POS | 0.984577 |
#include "utils.hpp"
#include <sstream>
const char * StripPath(const char * path)
{
const char * file = strrchr(path, '\\');
if (file)
return file + 1;
else
return path;
}
std::string virtualprotect_flags_to_str(WINDOWS::DWORD flags)
{
std::string res;
#define BIT_ENTRY(u) { u, #u }
st... | __label__POS | 0.896241 |
# 字节面试题视频讲解指导
#### 1. [手撕 unique_ptr](https://www.bilibili.com/video/BV11cG5zwEBU/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [enum和enum class的区别?](https://www.bilibili.com/video/BV1tX3jz3Eyk/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75c... | __label__POS | 0.826448 |
# 金山面试题视频讲解指导
#### 1. [std::sort 使用了哪种排序算法?](https://www.bilibili.com/video/BV1GZB7YrELz/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [k8s Pod有了解吗](https://www.bilibili.com/video/BV19wuizFErk/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c... | __label__POS | 0.999438 |
# 滴滴面试题视频讲解指导
#### 1. [C++中的友元函数和友元类有什么作用?](https://www.bilibili.com/video/BV1o5CnYKEEK/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [系统调用能否引起线程切换?malloc是不是系统调用?](https://www.bilibili.com/video/BV1Hw4m197Uq/?spm_id_from=333.1387.upload.video_card.click&vd_source=b6... | __label__POS | 0.99963 |
#include "dat.h"
Logbuf confbuf;
Req *cusewait; /* requests waiting for confirmation */
Req **cuselast = &cusewait;
void
confirmread(Req *r)
{
logbufread(&confbuf, r);
}
void
confirmflush(Req *r)
{
Req **l;
for(l=&cusewait; *l; l=&(*l)->aux){
if(*l == r){
*l = r->aux;
if(r->aux == nil)
cuselast = l... | __label__POS | 0.96747 |
#!/usr/bin/env python
# Capstone Python bindings, by Nguyen Anh Quynnh <aquynh@gmail.com>
from __future__ import print_function
import sys
_python3 = sys.version_info.major == 3
def to_hex(s, prefix_0x = True):
if _python3:
if prefix_0x:
return " ".join("0x{0:02x}".format(c) for c in s) # <-... | __label__POS | 0.788468 |
#include <iostream>
#include <memory>
#include <string>
int main()
{
struct S { std::string m{ "▄▀▄▀▄▀▄▀" }; };
constexpr int n {4};
alignas(alignof(S)) char out[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(out)};
auto last {first + n};
std::ranges::uninitia... | __label__POS | 0.965739 |
# 技术分享
> 包含秋招、编程学习、面试模拟等系列内容视频讲解
#### 1. [2026届C/C++秋招保姆级攻略](https://www.bilibili.com/video/BV1wh75zgEJ9/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [C++并发编程](https://www.bilibili.com/video/BV1A6GHzUE6S/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638f... | __label__POS | 0.830566 |
# Momenta面试题视频讲解指导
#### 1. [共享内存的用法以及使用场景](https://www.bilibili.com/video/BV1ssM3z5ELr/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [vector处理大规模数据时的优化](https://www.bilibili.com/video/BV1HYTjznEGn/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b... | __label__POS | 0.999428 |
# 深信服面试题视频讲解指导
#### 1. [协程如何关闭](https://www.bilibili.com/video/BV1gQNde5EEF?spm_id_from=333.788.videopod.sections&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [JSON与Protobuf的区别](https://www.bilibili.com/video/BV19ww5eRENe/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)... | __label__POS | 0.997912 |
# 简历修改意见视频指导
#### 1. [本硕211实习0 offer,想去做Qt开发推荐嘛?](https://www.bilibili.com/video/BV1637VzPELr/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [双非本硕研二0实习,现在准备秋招还来得及嘛?去实习还是准备秋招?](https://www.bilibili.com/video/BV1aNjBzHEUL/?spm_id_from=333.1387.upload.video_card.click&v... | __label__POS | 0.93697 |
# 小鹏面试题视频讲解
#### 1. [protobuf需要留意的两个使用问题](https://www.bilibili.com/video/BV1odQBY6ERP/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [Redis与MySQL的应用场景](https://www.bilibili.com/video/BV1SxQiYpE8v/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f... | __label__POS | 0.99936 |
#include <iostream>
#include <memory>
#include <string>
#include <cstring>
int main()
{
struct S { std::string m{ "Default value" }; };
constexpr int n {3};
alignas(alignof(S)) unsigned char mem[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(mem)};
auto last {first + n}... | __label__POS | 0.8926 |
# 网易面试题视频讲解指导
#### 1. [多态+内存对齐](https://www.bilibili.com/video/BV1DoMwzhETG/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [epoll线程安全分析](https://www.bilibili.com/video/BV1A35JzmEsH/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a... | __label__POS | 0.999455 |
# 拼多多面试题视频讲解指导
#### 1. [手撕 std::vector](https://www.bilibili.com/video/BV15HN2zpErf/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [epoll线程安全分析](https://www.bilibili.com/video/BV1A35JzmEsH/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc3... | __label__POS | 0.99903 |
class Base {
public:
auto operator<=>(const Base&) const = default;
};
std::strong_ordering operator <=>(const std::string& a, const std::string& b) {
int cmp = a.compare(b);
if (cmp < 0) return std::strong_ordering::less;
else if (cmp > 0) return std::strong_ordering::greater;
else return std::stro... | __label__POS | 0.996243 |
# c++ 相关面试题视频讲解指导
#### 1. [请问页面置换算法有哪些?](https://www.bilibili.com/video/BV1fm42177jq/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [请描述系统调用的整个流程?](https://www.bilibili.com/video/BV13A4m1F7nh/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34... | __label__POS | 0.989386 |
#include <u.h>
#include <libc.h>
#include <String.h>
#include "ftpfs.h"
enum
{
Chunk= 1024, /* chunk size for buffered data */
Nfile= 128, /* maximum number of cached files */
};
/* a file (with cached data) */
struct File
{
char *mem; /* part of file cached in memory */
ulong len; /* length of cached data ... | __label__POS | 0.638632 |
# golang 相关面试题(含视频讲解)
#### 1. [golang数据结构map的两种扩容方式与疏散流程](https://www.bilibili.com/video/BV1veo1YiE5e/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [golang数据结构map的访问与更新的底层实现](https://www.bilibili.com/video/BV18SXpYpEXm/?spm_id_from=333.1387.upload.video_card.click&v... | __label__POS | 0.806291 |
# 阿里面试题视频讲解指导
#### 1. [C++ Pimpl了解吗?有什么好处?](https://www.bilibili.com/video/BV1eU3RztEDB/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd34cc317156b7a8e)
#### 2. [C++17的常用特性](https://www.bilibili.com/video/BV1ktjbzyEPU/?spm_id_from=333.1387.upload.video_card.click&vd_source=b638fdfb9e01b75cd3... | __label__POS | 0.995843 |
# 读书郎面试题视频讲解指导
#### 1. [Redis分布式锁的实现与优缺点](https://www.bilibili.com/video/BV1XVj9zcEvy/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3c093e88857407609)
#### 2. [go常见的三种序列化和反序列化](https://www.bilibili.com/video/BV1EtJnzWE71/?spm_id_from=333.1387.upload.video_card.click&vd_source=1680a6fedc2270f3... | __label__POS | 0.999501 |
#include <cstring>
#include <iostream>
#include <memory>
#include <string>
int main()
{
struct S { std::string m{ "▄▀▄▀▄▀▄▀" }; };
constexpr int n {4};
alignas(alignof(S)) char out[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(out)};
auto last {first + n};
st... | __label__POS | 0.942566 |
#include <cstring>
#include <iostream>
#include <memory>
#include <string>
int main()
{
struct S { std::string m{ "█▓▒░ █▓▒░ " }; };
constexpr int n {4};
alignas(alignof(S)) char out[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(out)};
auto last = std::ranges::uninitia... | __label__POS | 0.950589 |
#include <iostream>
#include <memory>
#include <string>
int main()
{
struct S { std::string m{ "Default value" }; };
constexpr int n {3};
alignas(alignof(S)) unsigned char mem[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(mem)};
auto last = std::uninitialized_default_c... | __label__POS | 0.909804 |
#include <iostream>
#include <memory>
#include <string>
int main()
{
struct S { std::string m{ "█▓▒░ █▓▒░ █▓▒░ " }; };
constexpr int n {4};
alignas(alignof(S)) char out[n * sizeof(S)];
try
{
auto first {reinterpret_cast<S*>(out)};
auto last = std::ranges::uninitialized_value_co... | __label__POS | 0.961949 |
// Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013-2014
import capstone.Capstone;
import capstone.Xcore;
import static capstone.Xcore_const.*;
public class TestXcore {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representation-... | __label__POS | 0.740784 |
template<class T>
class P1 {
public:
explicit P1(T* p)
: p_(p) { }
T* operator->() const noexcept {
return p_;
}
private:
T* p_;
};
template<class T>
class P2 {
public:
explicit P2(T* p)
: p_(p) { }
P1<T> operator->() const noexcept {
return p_;
}
private... | __label__POS | 0.719993 |
// Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013
import capstone.Capstone;
import capstone.Mips;
import static capstone.Mips_const.*;
public class TestMips {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-he... | __label__POS | 0.746767 |
// Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013
import capstone.Capstone;
import capstone.Ppc;
import static capstone.Ppc_const.*;
public class TestPpc {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representation-of-a-hex-d... | __label__POS | 0.732897 |
// Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013-2014
import capstone.Capstone;
import capstone.Sparc;
import static capstone.Sparc_const.*;
public class TestSparc {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representation... | __label__POS | 0.718301 |
# 题目
农夫约翰希望为他的奶牛们建立一个畜栏。
这些挑剔的畜生要求畜栏必须是正方形的,而且至少要包含 C 单位的三叶草,来当做它们的下午茶。
畜栏的边缘必须与 X,Y 轴平行。
约翰的土地里一共包含 N 单位的三叶草,每单位三叶草位于一个 1×1 的土地区域内,区域位置由其左下角坐标表示,并且区域左下角的 X,Y 坐标都为整数,范围在 1 到 10000 以内。
多个单位的三叶草可能会位于同一个 1×1 的区域内,因为这个原因,在接下来的输入中,同一个区域坐标可能出现多次。
只有一个区域完全位于修好的畜栏之中,才认为这个区域内的三叶草在畜栏之中。
请你帮约翰计算一下,能包含至少 C 单位面积三叶草的情况下,畜栏的最小边... | __label__POS | 0.999779 |
// Capstone Java binding
// By Nguyen Anh Quynh & Dang Hoang Vu, 2013-2014
import capstone.Capstone;
import capstone.Systemz;
import static capstone.Sysz_const.*;
public class TestSystemz {
static byte[] hexString2Byte(String s) {
// from http://stackoverflow.com/questions/140131/convert-a-string-representat... | __label__POS | 0.70644 |
# 题目
在给定的 N 个整数 A<sub>1</sub>,A<sub>2</sub>……A<sub>N</sub> 中选出两个进行 xor(异或)运算,得到的结果最大是多少?
输入格式
第一行输入一个整数 N。
第二行输入 N 个整数 A<sub>1</sub>~AN。
输出格式<br>
输出一个整数表示答案。
数据范围<br>
1≤N≤10<sup>5</sup>,<br>
0≤A<sub>i</sub><2<sup>31</sup>
输入样例:
```
3
1 2 3
```
输出样例:
```
3
```
# 参考答案
```c++
#include<iostream>
#include<algorithm>
u... | __label__POS | 0.999903 |
# 题目
输入一个正数 S,打印出所有和为 S 的连续正数序列(至少含有两个数)。
例如输入 15,由于 1+2+3+4+5=4+5+6=7+8=15,所以结果打印出 3 个连续序列 1∼5、4∼6 和 7∼8。
样例
```
输入:15
输出:[[1,2,3,4,5],[4,5,6],[7,8]]
```
# 参考答案
```c++
class Solution {
public:
vector<vector<int> > findContinuousSequence(int sum) {
vector<vector<int>> res;
vector<int> path;
... | __label__POS | 1.00001 |
# 题目

# 参考答案
### c++代码
```c++
#include <bits/stdc++.h>
using namespace std;
int n,m,v[100010],w[100010],f[100010];
int main()
{
cin>>n>>m;
int cnt=1;
for(int i=1;i<=n;i++)
{
int ... | __label__POS | 0.999994 |
# 题目
追逐影子的人,自己就是影子。 ——荷马
达达最近迷上了文学。
她喜欢在一个慵懒的午后,细细地品上一杯卡布奇诺,静静地阅读她爱不释手的《荷马史诗》。
但是由《奥德赛》和《伊利亚特》组成的鸿篇巨制《荷马史诗》实在是太长了,达达想通过一种编码方式使得它变得短一些。
一部《荷马史诗》中有 n 种不同的单词,从 1 到 n 进行编号。其中第 i 种单词出现的总次数为 w<sub>i</sub>。
达达想要用 k 进制串 s<sub>i</sub> 来替换第 i 种单词,使得其满足如下要求:
对于任意的 1≤i,j≤n,i≠j,都有:s<sub>i</sub>不是 s<sub>i</sub> 的前缀。
现在达达想要知道,... | __label__POS | 0.990745 |
#include <iostream>
#include <string>
#include <chrono>
#include <thread>
using namespace std::chrono;
std::string fetchDataFromDB(std::string recvData) {
//确保函数要5秒才能执行完成
std::this_thread::sleep_for(seconds(5));
//处理创建数据库连接、获取数据等事情
return "DB_" + recvData;
}
std::string fetchDataFromFile(std::string rec... | __label__POS | 0.919471 |
#include <iostream>
#include <cstring>
#include <vector>
using namespace std;
class MyString
{
public:
static size_t CCtor; //统计调用拷贝构造函数的次数
static size_t MCtor; //统计调用移动构造函数的次数
static size_t CAsgn; //统计调用拷贝赋值函数的次数
static size_t MAsgn; //统计调用移动赋值函数的次数
public:
// 构造函数
MyString(const char* cstr=0)... | __label__POS | 0.824136 |
# 题目
达达学会了使用扑克 DIY 占卜。
方法如下:
一副去掉大小王的扑克共 52 张,打乱后均分为 13 堆,编号 1∼13,每堆 4 张,其中第 13 堆称作“生命牌”,也就是说你有 4 条命。
这里边,4 张 K 被称作死神。
初始状态下,所有的牌背面朝上扣下。
流程如下:
1.抽取生命牌中的最上面一张(第一张)。
2.把这张牌翻开,正面朝上,放到牌上的数字所对应编号的堆的最上边。(例如抽到 2,正面朝上放到第 2 堆牌最上面,又比如抽到 J,放到第 11 堆牌最上边,注意是正面朝上放)
3.从刚放了牌的那一堆最底下(最后一张)抽取一张牌,重复第 2 步。(例如你上次抽了 2,放到了第二堆顶部,现在抽第二堆... | __label__POS | 0.994369 |
#include <iostream>
#include <memory>
template <std::size_t N>
struct MyAllocator
{
char data[N];
void* p;
std::size_t sz;
MyAllocator() : p(data), sz(N) {}
template <typename T>
T* aligned_alloc(std::size_t a = alignof(T))
{
if (std::align(a, sizeof(T), p, sz))
{
... | __label__POS | 0.675083 |
# 题目
给出一个二叉树,输入两个树节点,求它们的最低公共祖先。
一个树节点的祖先节点包括它本身。
注意:
输入的二叉树不为空;<br>
输入的两个节点一定不为空,且是二叉树中的节点;
样例
```
二叉树[8, 12, 2, null, null, 6, 4, null, null, null, null]如下图所示:
8
/ \
12 2
/ \
6 4
1. 如果输入的树节点为2和12,则输出的最低公共祖先为树节点8。
2. 如果输入的树节点为2和6,则输出的最低公共祖先为树节点2。
```
# 参考答案
```c++
class Solution {
public:
... | __label__POS | 1.00001 |
# 题目
设计一个支持push,pop,top等操作并且可以在O(1)时间内检索出最小元素的堆栈。
push(x)–将元素x插入栈中<br>
pop()–移除栈顶元素<br>
top()–得到栈顶元素<br>
getMin()–得到栈中最小元素<br>
样例
```
MinStack minStack = new MinStack();
minStack.push(-1);
minStack.push(3);
minStack.push(-4);
minStack.getMin(); --> Returns -4.
minStack.pop();
minStack.top(); --> Returns 3.
mi... | __label__POS | 0.999982 |
# 题目
从扑克牌中随机抽 5 张牌,判断是不是一个顺子,即这 5 张牌是不是连续的。
2∼10 为数字本身,A 为 1,J 为 11,Q 为 12,K 为 13,大小王可以看做任意数字。
为了方便,大小王均以 0 来表示,并且假设这副牌中大小王均有两张。
样例1
```
输入:[8,9,10,11,12]
输出:true
```
样例2
```
输入:[0,8,9,11,12]
输出:true
```
# 参考答案
```c++
class Solution {
public:
bool isContinuous( vector<int> numbers ) {
if(numbers.size()... | __label__POS | 1.00001 |
enum class MyErrorCondition {
kChenggong,
kWangluoCuowu,
kQingqiuCuowu,
kFuwuqiCuowu,
};
class MyErrorCategory: public std::error_category
{
public:
static MyErrorCategory const& instance() {
static MyErrorCategory instance;
return instance;
}
char const *name() const ... | __label__POS | 0.900492 |
#include <iostream>
#include <type_traits>
#include <cstdint>
void print_separator()
{
std::cout << "-----\n";
}
int main()
{
std::cout << std::boolalpha;
// 一些实现定义状况
std::cout << std::is_same<int, std::int32_t>::value << '\n';
// 若 'int' 为 32 位则通常为 true
std::cout << std::is_same<int, std:... | __label__POS | 0.850398 |
# 题目
有 N 个元素,编号 1,2..N,每一对元素之间的大小关系是确定的,关系具有反对称性,但不具有传递性。
注意:不存在两个元素大小相等的情况。
也就是说,元素的大小关系是 N 个点与 (N×(N−1))/2 条有向边构成的任意有向图。
然而,这是一道交互式试题,这些关系不能一次性得知,你必须通过不超过 10000 次提问来获取信息,每次提问只能了解某两个元素之间的关系。
现在请你把这 N 个元素排成一行,使得每个元素都小于右边与它相邻的元素。
你可以通过我们预设的 bool 函数 compare 来获得两个元素之间的大小关系。
例如,编号为 a 和 b 的两个元素,如果元素 a 小于元素 b,则 compare... | __label__POS | 1.00001 |
# 题目
从 1∼n 这 n 个整数中随机选取任意多个,输出所有可能的选择方案。
输入格式<br>
输入一个整数 n。
输出格式<br>
每行输出一种方案。
同一行内的数必须升序排列,相邻两个数用恰好 1 个空格隔开。
对于没有选任何数的方案,输出空行。
本题有自定义校验器(SPJ),各行(不同方案)之间的顺序任意。
数据范围<br>
1≤n≤15<br>
输入样例:
```
3
```
输出样例:
```
3
2
2 3
1
1 3
1 2
1 2 3
```
# 参考答案
```c++
#include <iostream>
using namespace std;
int n;
// u是当前枚举到的数,st... | __label__POS | 0.999852 |
# 题目
莫斯科正在举办一个大型国际会议,有 n 个来自不同国家的科学家参会。
每个科学家都只懂得一种语言。
为了方便起见,我们把世界上的所有语言用 1 到 109 之间的整数编号。
在会议结束后,所有的科学家决定一起去看场电影放松一下。
他们去的电影院里一共有 m 部电影正在上映,每部电影的语音和字幕都采用不同的语言。
对于观影的科学家来说,如果能听懂电影的语音,他就会很开心;如果能看懂字幕,他就会比较开心;如果全都不懂,他就会不开心。
现在科学家们决定大家看同一场电影。
请你帮忙选择一部电影,可以让观影很开心的人最多。
如果有多部电影满足条件,则在这些电影中挑选观影比较开心的人最多的那一部。
输入格式<br>
... | __label__POS | 0.999967 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.