Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
gzshawnliang committed Mar 16, 2019
1 parent 5e0febf commit 18e7d5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"MIMode": "gdb",
"miDebuggerPath": "${env:CppCompiler}\\gdb.exe",
"preLaunchTask": "g++",
"internalConsoleOptions": "openOnSessionStart",
"internalConsoleOptions":"neverOpen",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
Expand Down
Empty file added consecutiveIntegers.out
Empty file.
Binary file modified myCpps/consecutiveIntegers.out
Binary file not shown.
5 changes: 3 additions & 2 deletions tempCode/testStdInOut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
#include <bits/stdc++.h>
using namespace std;


int main()
{
int caseCout;
cin >> caseCout;
random rdNum;
while (caseCout--)
{
cout << rdNum.GetRand(1, 100) * rdNum.GetRand(1, 100) << "\n";
int i = rdNum.GetRand(1, 100);
int j = rdNum.GetRand(1, 100);

cout << i << "x" << j << "=" << i * j << "\n";
}
//cout << rdNum.GetRand(1, 100) / rdNum.GetRand(0, 0) << "\n";
return 0;
Expand Down

0 comments on commit 18e7d5c

Please sign in to comment.