0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 18:08:47 +00:00

#1910. 签到题(qiandao)

https://sjzezoj.com/submission/69057
This commit is contained in:
Baoshuo Ren 2023-02-11 14:05:27 +08:00
parent 411eca26e2
commit 4921b92f03
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
58 changed files with 202 additions and 0 deletions

31
S2OJ/1910/1910.cpp Normal file
View File

@ -0,0 +1,31 @@
#include <iostream>
#include <vector>
using std::cin;
using std::cout;
const char endl = '\n';
const int N = 1e6 + 5;
int n, m, k, c, d[N], ans;
int main() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cin >> n >> m >> k >> c;
for (int i = 1, u, v; i <= k; i++) {
cin >> u >> v;
d[u]++, d[v + n]++;
}
for (int i = 1; i <= n + m; i++) {
if (d[i] % c != 0) ans++;
}
cout << ans << endl;
return 0;
}

BIN
S2OJ/1910/data/ex_qiandao1.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao1.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao2.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao2.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao3.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao3.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao4.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/ex_qiandao4.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/problem.conf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao1.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao1.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao10.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao10.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao11.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao11.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao12.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao12.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao13.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao13.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao14.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao14.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao15.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao15.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao16.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao16.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao17.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao17.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao18.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao18.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao19.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao19.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao2.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao2.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao20.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao20.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao3.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao3.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao4.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao4.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao5.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao5.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao6.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao6.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao7.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao7.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao8.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao8.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao9.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/data/qiandao9.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao1.ans (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao1.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao2.ans (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao2.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao3.ans (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao3.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao4.ans (Stored with Git LFS) Normal file

Binary file not shown.

BIN
S2OJ/1910/samples/qiandao4.in (Stored with Git LFS) Normal file

Binary file not shown.