ZKP学习笔记
ZK-Learning MOOC课程笔记
Lecture 11: From Practice to Theory (Guest Lecturer: Alex Lombardi)
11.2 Fiat-Shamir and SNARGs Succinct Non-Interactive Arguments (SNARGs) This class so far: constructions of SNARGs using IOPs and a random oracle. …
算法:
这道题适合用迭代法,层序遍历:按层遍历,每次把每层最左边的值保存、更新到result里面。
看看Java怎么实现层序遍历的(用队列):
/*** Definition for a binary tree node.* public clas…
1、水题
2、模拟题,写个函数即可
#define pb push_back
#define x first
#define y second
#define int long long
#define endl \n
const LL maxn 4e057;
const LL N 5e0510;
const LL mod 1e097;
const int inf 0x3f3f;
const LL llinf 5e18;typedef pair…