-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtemp.c
More file actions
38 lines (36 loc) · 732 Bytes
/
temp.c
File metadata and controls
38 lines (36 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*#include <stdio.h>
#include <stdlib.h>
int reachOrigin( int x, int y ) {
static int count = 0;
if( x >= 0 && y >= 0 ) {
if( x == 0 && y == 0 ) {
count++;
}
reachOrigin( x, y-1 );
reachOrigin( x-1, y );
}
return count;
}
int main(void) {
int x, y, path, t, i, prev = 0;
scanf("%d",&t);
for( i = 0; i < t; i++ ) {
scanf("%d",&x);
scanf("%d",&y);
path = reachOrigin( x, y );
printf("%d\n",( path - prev ) );
prev = path;
}
return 0;
}
*/
#include <stdio.h>
#include <string.h>
#include <math.h>
int main(int argc, char const *argv[])
{
char str[100];
int l=pow(2,4);
printf("%d",l);
return 0;
}