编号 题目 状态 分数 总时间 内存 代码 / 答案文件 提交者 提交时间
#3225 #1007. 这你也敢信? Wrong Answer 61 64 ms 404 K C++ 17 / 471 B s230026114 2023-11-25 14:15:53
显示原始代码
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
long long jc(long long x, long long i) {
    long long j, num = 1;
    if (i == 0)
        return 1;
    for (j = 1; j <= i; ++j) {
        num *= x;
    }
    return num;
}
int main() {
    int i;
    long long n;
    scanf("%lld", &n);
    long long x = 1, y = 1;
    while (1 == 1) {
        y++;
        if (jc(2, x) * jc(3, y) == n) {
            printf("Yes");
            return 0;
        }
        if (jc(2, x) * jc(3, y) > n) {
            x++;
            y = 0;
        }
    }
    printf("No");
}
子任务 #1
Wrong Answer
得分:60
测试点 #1
Accepted
得分:100
用时:3 ms
内存:248 KiB

输入文件(00_sample_00.in

324

答案文件(00_sample_00.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #2
Wrong Answer
得分:0
用时:2 ms
内存:224 KiB

输入文件(00_sample_01.in

5

答案文件(00_sample_01.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #3
Accepted
得分:100
用时:2 ms
内存:284 KiB

输入文件(00_sample_02.in

32

答案文件(00_sample_02.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #4
Accepted
得分:100
用时:3 ms
内存:404 KiB

输入文件(00_sample_03.in

37748736

答案文件(00_sample_03.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #5
Accepted
得分:100
用时:3 ms
内存:276 KiB

输入文件(01_handmade_04.in

1

答案文件(01_handmade_04.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #6
Accepted
得分:100
用时:3 ms
内存:228 KiB

输入文件(01_handmade_05.in

999502313552216064

答案文件(01_handmade_05.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #7
Wrong Answer
得分:0
用时:3 ms
内存:308 KiB

输入文件(01_handmade_06.in

1000000000000000000

答案文件(01_handmade_06.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #8
Wrong Answer
得分:0
用时:2 ms
内存:284 KiB

输入文件(02_random_07.in

79072359676402482

答案文件(02_random_07.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #9
Wrong Answer
得分:0
用时:3 ms
内存:272 KiB

输入文件(02_random_08.in

554350744791940977

答案文件(02_random_08.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #10
Wrong Answer
得分:0
用时:2 ms
内存:224 KiB

输入文件(02_random_09.in

261500529602049246

答案文件(02_random_09.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #11
Wrong Answer
得分:0
用时:2 ms
内存:228 KiB

输入文件(02_random_10.in

993351250920326393

答案文件(02_random_10.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #12
Wrong Answer
得分:0
用时:4 ms
内存:284 KiB

输入文件(02_random_11.in

489589496526871622

答案文件(02_random_11.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #13
Accepted
得分:100
用时:2 ms
内存:232 KiB

输入文件(02_random_12.in

62762119218

答案文件(02_random_12.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #14
Accepted
得分:100
用时:3 ms
内存:236 KiB

输入文件(02_random_13.in

1506290861232

答案文件(02_random_13.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #15
Accepted
得分:100
用时:4 ms
内存:248 KiB

输入文件(02_random_14.in

24794911296

答案文件(02_random_14.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #16
Accepted
得分:100
用时:3 ms
内存:300 KiB

输入文件(02_random_15.in

14089640214528

答案文件(02_random_15.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #17
Accepted
得分:100
用时:3 ms
内存:264 KiB

输入文件(02_random_16.in

2592

答案文件(02_random_16.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #18
Accepted
得分:100
用时:3 ms
内存:272 KiB

输入文件(02_random_17.in

2

答案文件(02_random_17.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #19
Accepted
得分:100
用时:4 ms
内存:228 KiB

输入文件(02_random_18.in

3

答案文件(02_random_18.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #20
Accepted
得分:100
用时:3 ms
内存:316 KiB

输入文件(02_random_19.in

4

答案文件(02_random_19.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #21
Accepted
得分:100
用时:2 ms
内存:392 KiB

输入文件(02_random_20.in

9

答案文件(02_random_20.out

Yes

用户输出

Yes

系统信息

Exited with return code 0
测试点 #22
Wrong Answer
得分:0
用时:3 ms
内存:272 KiB

输入文件(02_random_21.in

999999999999245093

答案文件(02_random_21.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0
测试点 #23
Wrong Answer
得分:0
用时:2 ms
内存:384 KiB

输入文件(02_random_22.in

999999961999997657

答案文件(02_random_22.out

No

用户输出

Yes

Special Judge 信息

Files user_out and answer differ

系统信息

Exited with return code 0