Function solution will return number of possible reservations. S contains reserved seat details in the format {1A 1B 2C 3D 5J} where A,B,C,D,J are columns and 1,1,2,3,5 are rows. Considering columns are from A to J at this moment and N < 100.
int solution(int N, string S){}
Aucun commentaire:
Enregistrer un commentaire