|
|
back to boardInteresting Interesting to now, why when I write like this: int map[50001][4]; int N; cin >> N; for (int i=0; i<N; i++) { scanf("%d %d %d %d", &map[i][0], &map[i][1], &map[i][2], &map[i][3]); ... I got wa2 and when I write like this: for (int i=0; i<N; i++) { cin >> map[i][0] >> map[i][1] >> map[i][2] >> map[i][3];.. I succesfully pass second test ? Re: Interesting don't mix cin and scanf! |
|
|