Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 26th, 2018
94
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.24 KB
| None
|
0
0
raw
download
clone
embed
print
report
void sort(int* A, int n)
{
for (int i = 0; i < n; ++i)
for (int j = i+1; j < n; ++j)
if (A[j] < A[i])
{
int tmp = A[i];
A[i] = A[j];
A[j] = tmp;
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
batstats.rb
Ruby | 8 min ago | 2.46 KB
batstats.js
JavaScript | 12 min ago | 1.71 KB
verticalPermutationCipher
Python | 21 min ago | 4.35 KB
substitutionCipher
Python | 22 min ago | 5.16 KB
menu
Python | 23 min ago | 8.15 KB
batstats.py
Python | 25 min ago | 2.22 KB
batstats.ps1
PowerShell | 25 min ago | 1.54 KB
рекурсия
C++ | 26 min ago | 1.42 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!