Analyze and calculate time complexity of the following code
:-
#include <stdio.h>
int main() {
int a, m;
scanf("%d %d", &m, &a);
// Here m = your_id % 1000, a = your_id /
1000
for(int i = 0; i < m ; i+=2)
printf("Time Complexity\n");
for(int i = 0; i < a ; i+=4)
printf("Space Complexity\n");
for(int i = 0; i < m ; i+=2)
for(int j = 1; j < a ; j*=2)
printf("a Ongoing\n");
return 0;
}