Counting Inversions

Time Limit: 2 Seconds    Memory Limit: 32768 KB

Submit