CodeForces 268A Games
来源:互联网 发布:js设置页面刷新 编辑:程序博客网 时间:2024/06/08 01:02
水题一枚。。。
#include <iostream>#include <cstdio>#include <cstring>using namespace std;int main(){ int n,i,ans,j,cnt[200],a[200],b[200]; scanf("%d",&n); memset(cnt,0,sizeof(cnt)); for (i=0; i<n; i++) { scanf("%d%d",a+i,b+i); } ans=0; for (i=0; i<n; i++) { for (j=0; j<n; j++) { if (a[i] == b[j]) ans++; } } printf("%d\n",ans);}
- CodeForces 268A Games
- Codeforces #164 A. Games (水
- codeforces——268A——Games
- 268A - Games
- codeforces 455B. A Lot of Games
- codeforces 455B A Lot of Games
- codeforces 455B A Lot of Games
- CodeForces 455B A Lot of Games
- codeforces 727E. Games on a CD
- codeforces 455B A Lot of Games
- Codeforces Games
- A. Games
- Codeforces 455B A Lot of Games(字典树+博弈)
- Codeforces 455B A Lot of Games(博弈)
- 【CodeForces】445B A Lot of Games 字典树博弈
- 【字典树+dp】 codeforces 455B A Lot of Games
- codeforces 455B A Lot of Games (Trie + dfs)
- Codeforces 455B A Lot of Games 字典树上博弈
- ibtool 抽取 写入替换 MARK (Xcode 工具使用)
- unix 系统备忘
- poj2154 polya theory
- POJ 3308 Paratroopers
- Java中集合类的区别
- CodeForces 268A Games
- 用递归方式将栈内容翻转
- Cannot start session without errors, please check errors given in your PHP and/or webserver log
- 2013-3-26 多益网络笔试题
- opengl在vs2008下的配置过程
- CodeForces 266E More Queries to Array...
- SQL Error (1130): Host '192.168.1.100' is not allowed to connect to this MySQL server
- Ubuntu下网络连接图标丢失后获得方法
- 对动态规划的一些看法