题解 1226: 方砖问题

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

方砖问题 (Java代码)

摘要:解题思路:注意事项:找规律参考代码: public static void main(String[] args) { // TODO Auto-generated method stub Sca……

方砖问题 (C语言代码)

摘要:#include<stdio.h>   //动手画一下不难发现规律 int main() {     int T;     scanf("%d", &T);     while (T--) ……

方砖问题 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int count1,count2;int f1(int l1,int l2){if(l2>l1){l2-=l1;count1++;}……