摘要:
A: #include<iostream> using namespace std; int main() { int n; cin>>n; cout<<(n-1)/5+1; } B: #include<iostream> using namespace std; int n; int pos[11 阅读全文
摘要:
#include<iostream> #include<algorithm> using namespace std; int a,b; int gcd(int a,int b) { if(a%b==0) return b; else return gcd(b,a%b); } int main() 阅读全文
摘要:
#include<iostream> #include<cstdio> using namespace std; int n; #define rep(i,j,k) for(int i=j;i<=k;i++) int main() { int sum=0; cin>>n; int tmp; rep( 阅读全文
摘要:
#include<iostream> #include<string> using namespace std; int a[20][20];int b[20][20]; #define rep(i,j,k) for(int i=j;i<=k;i++) int n; string s[20]; vo 阅读全文
摘要:
#include<iostream> #include<string> using namespace std; int sum[201]; string s; int main() { while(cin>>s&&!(s.length()==1&&s[0]=='0')) { int x=s.len 阅读全文