Signed-off-by: 10-4 <10-4@sairate.fun>
This commit is contained in:
parent
3d5832b39f
commit
536db94219
|
@ -0,0 +1,8 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int n;
|
||||
cin>>n;
|
||||
cout<<(n%10)<<(n/10%10)<<(n/100);
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int n;
|
||||
cin>>n;
|
||||
cout<<(n%10)+(n/10%10)+(n/100);
|
||||
return 0;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,8 @@
|
|||
#include<iostream>
|
||||
using namespace std;
|
||||
int main(){
|
||||
int m;
|
||||
cin>>m;
|
||||
cout<<m/13<<" "<<m%13;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue