UVa:11044 - Searching for Nessy

easy……

#include<stdio.h>
int main(){
    int t;
    while(scanf("%d", &t) != EOF){
        while(t--){
            int m, n;
            scanf("%d%d", &n, &m);
            int xc = (n - 2) % 3 ? (n - 2) / 3 + 1 : (n - 2) / 3;
            int yc = (m - 2) % 3 ? (m - 2) / 3 + 1 : (m - 2) / 3;
            printf("%d\n", xc * yc);
        }
    }
    return 0;
}


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
There could be a few reasons why you are encountering this issue. Firstly, please ensure that you have the correct repository configuration in your project's pom.xml file. You can add the following repository configuration to your pom.xml file: ```xml <repositories> <repository> <id>nexus-aliyun</id> <url>https://your-nexus-aliyun-repository-url</url> </repository> </repositories> ``` Make sure to replace `https://your-nexus-aliyun-repository-url` with the actual URL of your Nexus Aliyun repository. If you already have the correct repository configuration, the next step is to check if the artifact `org.springframework.boot:spring-boot-starter-parent` with version `3.0.11-SNAPSHOT` is actually available in the Nexus Aliyun repository. You can do this by navigating to the Nexus Aliyun repository and searching for the artifact. If the artifact is not available in the Nexus Aliyun repository, you may need to check with the administrator or owner of the repository to ensure that the artifact is published and accessible. If you have confirmed that the artifact is available in the Nexus Aliyun repository, you may want to check if there are any network or connectivity issues preventing your project from accessing the repository. In such cases, you can try accessing the repository URL directly in a browser or using tools like `curl` to see if you can download the artifact manually. If none of these suggestions help, please provide more details about your project setup, such as your pom.xml file, repository configuration, and any error messages you are encountering.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值