记录详情

Time Exceeded


  
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Time Exceeded ≥1001ms ≥220.0 KiB
#3 Time Exceeded ≥1001ms ≥128.0 KiB
#4 Time Exceeded ≥1002ms ≥204.0 KiB
#5 Time Exceeded ≥1000ms ≥212.0 KiB
#6 Time Exceeded ≥1002ms ≥216.0 KiB
#7 Time Exceeded ≥1000ms ≥128.0 KiB
#8 Time Exceeded ≥1000ms ≥128.0 KiB
#9 Time Exceeded ≥1001ms ≥216.0 KiB
#10 Time Exceeded ≥1006ms ≥208.0 KiB

代码

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int n,i,num;
    int find;
    scanf("%d",&n);
    for(num=1; ;num++)
    {
        find=1;
        for(i=1;i<=n;i++)
        {
            if(num%i != 0)
            {
                find=0;
                break;
            }
        }
        if(find == 1)
        break;
    }
    printf("%d",num);
    return 0;
}

信息

递交者
类型
递交
题目
篝题
语言
C
递交时间
2020-12-23 22:17:54
评测时间
2020-12-23 22:17:54
评测机
分数
10
总耗时
≥9018ms
峰值内存
≥220.0 KiB