Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 7, 2020 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/d08790dd811862a66b8e8521bd8c5bce to your computer and use it in GitHub Desktop.
Save amankharwal/d08790dd811862a66b8e8521bd8c5bce to your computer and use it in GitHub Desktop.
int n, m;
cin>>n>>m;
int a = 0;
for (int i = 1; i <= n; i++){
for (int j = 1; j <= m; j++){
a = a + rand();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment