2016年ACM/ICPC Asia China-Final (Shanghai) Contest H題(思維)

題目鏈接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5926 題意:在一個n*m的矩陣內填整數,數字在[1...K]範圍內。矩陣中某格的數爲great number當且僅當與它同行同列的數字都嚴格比它小。即Ag爲矩陣中恰有g個great
相關文章
相關標籤/搜索