mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-25 07:51:58 +00:00
P4325 [COCI2006-2007#1] Modulo
R39846673
This commit is contained in:
parent
59b8809c28
commit
9d229621dc
14
problem/P4325/P4325.cpp
Normal file
14
problem/P4325/P4325.cpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#include<bits/stdc++.h>
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
int t;
|
||||||
|
set<int> s;
|
||||||
|
for(int i = 0 ; i < 10 ; i++) {
|
||||||
|
cin >> t;
|
||||||
|
s.insert(t%42);
|
||||||
|
}
|
||||||
|
cout << s.size() << endl;
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user