摘要:
*270題 原題傳送門:http://oj.tfls.net/p/270 題解: #include<bits/stdc++.h> using namespace std; int a,b,c,ans=0; int main(){ int n; cin>>n; for (int i=1; i<=n-2
閱讀全文
摘要:
*272題 原題傳送門:http://oj.tfls.net/p/272 題解:(遍歷,60分) #include<bits/stdc++.h> using namespace std; long long allday;//總天數(shù) long long pas;//已經(jīng)過去 long long mo
閱讀全文
摘要:
*266題 原題傳送門:http://oj.tfls.net/p/266 題解: #include<bits/stdc++.h> using namespace std; int t;//高能數(shù)字 int sfch(int a){//是否有一位是高能數(shù)字,我用的遞歸,直到為零 if (a==0) r
閱讀全文
摘要:
*271題 原題傳送門:http://oj.tfls.net/p/271 題解: #include<bits/stdc++.h> using namespace std; int cf(int a,int b){//a的b次方 int c=a; for (int i=1; i<b; i++)//乘
閱讀全文