- 博客(3)
- 收藏
- 关注
原创 uva694
好坑啊,说a不会太大,但就是会超过二的32次代码略差#include<iostream>using namespace std;int main(){long long a, b, i, co = 0;cin>>a>>b;while(1){if(a < 0 && b < 0) break;++co;long long p = a, q...
2013-10-14 17:39:41 220
原创 uva489
虽然做了好久,还是感觉复杂度。。。。#include#includeusing namespace std;int jud(string s){ for(int i = 0; i if(s[i] != 0)return 0;return 1;}int main(){ int n, co, p, flag;string s1, s2;cin>>n;
2013-10-11 22:49:29 242
原创 uva494
#include#includeusing namespace std;int jud(char ch){if((ch >= 65 && ch = 97 && ch return 1;return 0;}int main(){int a;string ch; while(getline(cin,ch)){a = 0;for(int
2013-10-11 08:43:36 227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人