1904. The Number of Full Rounds You Have Played
IntuitionIn order to solve this problem firstly we have to consider that the inputy is in string format and we have to read and convert into integer and solve.A
# Intuition
In order to solve this problem firstly we have to consider that the inputy is in string format and we have to read and convert into integer and solve.

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
- O(1)

- Space complexity:
- O(1)

# Code
```c []
int numberOfRounds(char* loginTime, char* logoutTime) {
    int i,ih,im,oh,om,n;
    ih=(loginTime[0]-'0')*10+(loginTime[1]-'0');
    im=(loginTime[3]-'0')*10+(loginTime[4]-'0');
    oh=(logoutTime[0]-'0')*10+(logoutTime[1]-'0');
    om=(logoutTime[3]-'0')*10+(logoutTime[4]-'0');
    if(om<im)
    {
        oh-=1;
        om+=60;
    }
    if(oh<ih)
    {
        oh+=24;
    }
    im=(im%15==0)?im:(im+(15-im%15));
    om=(om%15==0)?om:(om-om%15);
    if(ih==oh && im>om)
    {
        return 0;
    }
    n=((om-im)/15)+((oh-ih)*4);
    return n;
    }
```
['C']