diff options
Diffstat (limited to 'codechef/countingWords')
| -rwxr-xr-x | codechef/countingWords/main | bin | 0 -> 22576 bytes | |||
| -rw-r--r-- | codechef/countingWords/main.cpp | 15 | ||||
| -rw-r--r-- | codechef/countingWords/main_input0.txt | 5 | ||||
| -rw-r--r-- | codechef/countingWords/main_output0.txt | 4 |
4 files changed, 24 insertions, 0 deletions
diff --git a/codechef/countingWords/main b/codechef/countingWords/main Binary files differnew file mode 100755 index 0000000..418459e --- /dev/null +++ b/codechef/countingWords/main diff --git a/codechef/countingWords/main.cpp b/codechef/countingWords/main.cpp new file mode 100644 index 0000000..b205754 --- /dev/null +++ b/codechef/countingWords/main.cpp @@ -0,0 +1,15 @@ +#include<bits/stdc++.h> + +using namespace std; + +int main () { + ios_base::sync_with_stdio(false); + cin.tie(NULL); + int tt; + cin >> tt; + while(tt--){ + int n, m; + cin >> n >> m; + cout << n * m << endl; + } +} diff --git a/codechef/countingWords/main_input0.txt b/codechef/countingWords/main_input0.txt new file mode 100644 index 0000000..18e52b9 --- /dev/null +++ b/codechef/countingWords/main_input0.txt @@ -0,0 +1,5 @@ +4 +1 1 +4 2 +2 4 +95 42 diff --git a/codechef/countingWords/main_output0.txt b/codechef/countingWords/main_output0.txt new file mode 100644 index 0000000..fbde8c0 --- /dev/null +++ b/codechef/countingWords/main_output0.txt @@ -0,0 +1,4 @@ +1 +8 +8 +3990 |
