首页 > TAG信息列表 > B1048

PTA B1048 数字加密 (20 分)

题目链接:点击这里 #include<iostream> #include<algorithm> #include<string> #include<cstdio> #include<cstring> #include<cmath> #include<stack> #include<queue> using namespace std; typedef long long ll; const int MOD

PAT B1048 数字加密 (20)

AC代码 #include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; const int max_n = 110; int main() { #ifdef ONLINE_JUDGE #else freopen("1.txt", "r", stdin

B1048 数字加密

15/20 #include<bits/stdc++.h> using namespace std; stack<int> s; char a[3]={'J','Q','K'}; int main(){ long long A,B; cin>>A>>B; int i=1; while(A>0&&B>0){ if(i%2==1