Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 21st, 2018
70
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
int n = 5;
int m = 10;
int rnd; //rnd is a random number between 0 and m
for(int i=0; i<n; i++)
{
for(int j=0; i<m; j++)
{
if(j==rnd)
break;
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C++ | 6 min ago | 0.30 KB
Pico Proximity Sensor (LED Alert + POST reque...
Python | 12 min ago | 2.20 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 19 min ago | 0.38 KB
Untitled
PHP | 23 min ago | 0.01 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 23 min ago | 0.39 KB
Untitled
C# | 47 min ago | 1.64 KB
asadsads
JavaScript | 1 hour ago | 2.66 KB
Форд-Беллман
Python | 1 hour ago | 0.51 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!