Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Nov 22nd, 2017
114
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
2 1 2 3 4
1 2
3 4
int dim;
int *m = (int *)malloc(dim* dim* sizeof(int))
scanf("%d", &dim);
for (r = 0; r < dim; ++r)
{
for (c = 0; c < dim; ++c)
{
scanf("%d", &m[dim * r + c]);
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C# | 2 min ago | 0.24 KB
immediately invoked lambda expression
C++ | 7 min ago | 7.73 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
Untitled
JavaScript | 1 hour ago | 0.53 KB
nrzZoom Storyline Object Zoom Call
JavaScript | 2 hours ago | 0.13 KB
nrzZoom Storyline Object Zoom Library
JavaScript | 2 hours ago | 0.65 KB
ntp_install.lua
Lua | 2 hours ago | 0.23 KB
Untitled
Pawn | 3 hours ago | 1.89 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!