#include <bits/stdc++.h> using namespace std; int main(int argc, char** argv) { long long int a; while(cin>>a) cout<<a%9+(a%9==0)*9<<endl;<------------怎麼換行?用endl和"\n"都OLE!!!!!!! }
#include <bits/stdc++.h> using namespace std; int main(int argc, char** argv) { long long int a; while(cin>>a) cout<<a%9+(a%9==0)*9<<endl;<------------怎麼換行?用endl和"\n"都OLE!!!!!!! }
#include <bits/stdc++.h> using namespace std; int main(int argc, char** argv) { long long int a; while(cin>>a) cout<<a%9+(a%9==0)*9<<endl;<------------怎麼換行?用endl和"\n"都OLE!!!!!!! }