No way to figure out format

I've done 2-3 interviews with nowcoder but no way to make any inputs
Today again the 字节跳动 interview is here and don't know how to input cin >> c into vector<vector<char>>
All the problems I might know how to solve but just because the inputs always get errors from the system and in that case,
I won't get any problems done. If continue using this platform, no interviews will pass. If anyone know to input cin >> c into two
demension vector please let me know. Thanks
全部评论
 I’m not sure ,   maybe it is useful。     vector<char> x(M, '0');     vector<vector<char> > ss(N, x);     for (int i = 0; i < N; i++) {         for (int j = 0; j < M; j++)         {             cin >> ss[i][j];         } }
点赞 回复 分享
发布于 2018-09-20 21:14
#牛客走向全球了嘛# 一般都会给出数组的长度和二维数组的长度,然后for循环读入
点赞 回复 分享
发布于 2018-09-20 21:16
在一个几乎全是中国人的平台,咋还用英文问问题。。。。。
点赞 回复 分享
发布于 2018-09-20 21:13
看了楼主之前发的帖子,我 ???
点赞 回复 分享
发布于 2018-09-20 21:18
楼主 https://www.nowcoder.com/activity/oj 这里多做一些练习题就习惯了。
点赞 回复 分享
发布于 2018-09-20 21:20
看你之前的帖子,我觉得你是不是找工作精分了。。。
点赞 回复 分享
发布于 2018-09-20 21:55
I have the same problem. there is a button shown on the top right corner that has some indications for each programming languages dealing with inputs and outputs. I also spent times ticking my head to handel it. in addition, this platform is absolutely trash!
点赞 回复 分享
发布于 2018-10-12 03:21

相关推荐

HNU_fsq:建议直接出国,这简历太6了。自愧不如
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务