Compare commits
2 Commits
6f9e97b91c
...
c3f6e61e67
Author | SHA1 | Date |
---|---|---|
|
c3f6e61e67 | |
|
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