228A - Is your horseshoe on the other hoof?
来源:互联网 发布:故宫淘宝怎么样 编辑:程序博客网 时间:2024/05/16 00:56
#include <cmath>#include <cstdio>#include <cstdlib>#include <cstring>#include <iostream>#include <string>#include <vector>#include <queue>#include <algorithm>using namespace std;int main() { int s[4]; int ans = 0; cin >> s[0] >> s[1] >> s[2] >> s[3]; sort(s, s + 4); for(int i = 0; i < 3; ++i) { if(s[i] == s[i+1]) { ans++; } } cout << ans << endl; return 0;}
0 0
- CodeForces-228A-Is your horseshoe on the other hoof?
- 228A - Is your horseshoe on the other hoof?
- CodeForces 228A Is your horseshoe on the other hoof?
- Is your horseshoe on the other hoof?
- A. Is your horseshoe on the other hoof?
- codeforces——228A —— Is your horseshoe on the other hoof?
- codeforces228A Is your horseshoe on the other hoof?(水题)
- Codeforces Is your horseshoe on the other hoof?
- Your boot partition is on a disk using the GPT
- The shoe is on the other foot 指什么
- 411. The grass is greener on the other side. 这山望着那山高
- capacity is approximately 1880 cubic inches. On the other hand
- On the other hand
- Your boot partition is on a disk using the GPT partitioning Scheme but this machines cannot boot
- unable to start the monitor on 4454 ,an other instance is problaly using the same port
- Verify the Developer App certificate for your account is trusted on your device
- Your Apple ID account is also attached to other iTunes providers. You will need to create a new user
- Solved this program:accessed from a thread other than the thread it was created on.
- Strom简介
- 第三章 40题
- 好用的pdf转换工具
- 优化Myeclipse10 Building Workspace速度慢等问题
- Makefile中常用的函数
- 228A - Is your horseshoe on the other hoof?
- 解决adb被占用问题
- jquery中one的用法
- pdf分割的三步骤
- c#对第三方缓存redis的操作(四)
- 纯CSS手风琴效果
- c#对第三方缓存redis的操作(五)
- C 调用 LUA时候如何push table self
- 提高第31课时,实践1,项目1-M$pszi$y是嘛意思?