題目描述
哈哈哈超級大水題~~
代碼
#include<cstdio>
using namespace std;
int main(){
int a,b;
while(scanf("%d%d",&a,&b)==2) printf("%d\n",a*b-1);
return 0;
}
題目描述
哈哈哈超級大水題~~
代碼
#include<cstdio>
using namespace std;
int main(){
int a,b;
while(scanf("%d%d",&a,&b)==2) printf("%d\n",a*b-1);
return 0;
}
II U C ONLINE C ON TEST 2 008 Problem D: GCD LCM Input: standard input Output: standard output The
問題: 一個渡口,有一艘渡船,運汽車到對面,一次能運n輛車,到達對面要t分鐘,返回要t分鐘,一共來m輛車。 給出m個數據,是到達渡口的時間。求最短把
這場CF終於當了一次手速狗啊,簡直了啊。 A:簽到,輸出一個蛇形,看着樣例找到規律打印路徑就可以了。 int main() { int n, m; while(cin >>n>>m) { for(i
time limit per test 1 second memory limit per test 256 megabytes inpu