如下: 5 5 R R R R R R R R R R R R R R R R R R R R R R R R R 只允许用scanf,如何写读取函数. 由于算法竞赛追求速度,很多时候都应该用scanf而避免用cin,然而用scanf经常会出现一些细节上的问题,要多加注意 #include <stdio.h> ][]; int main() { int m,n; char ch; scanf("%d%d",&m,&n…
http://acm.hdu.edu.cn/showproblem.php?pid=1075 What Are You Talking About Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 13618 Accepted Submission(s): 4366 Problem Description Ignatius is…