/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void dfs(int, ULL)':
/in/foo.cc:9:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if(d==n+1){
        ~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'ULL* {aka long long unsigned int*}' [-Wformat=]
     scanf("%d",&rd);
                   ^
/in/foo.cc:26:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'ULL* {aka long long unsigned int*}' [-Wformat=]
         scanf("%d",&n);
                      ^
/in/foo.cc:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1; i<=n; i++) scanf("%llu",&num[i]);
                      ~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 756.0 KiB
#2 Accepted 4ms 676.0 KiB
#3 Accepted 3ms 216.0 KiB
#4 Accepted 3ms 220.0 KiB
#5 Accepted 2ms 212.0 KiB
#6 Wrong Answer 2ms 216.0 KiB
#7 Wrong Answer 3ms 216.0 KiB
#8 Wrong Answer 3ms 220.0 KiB
#9 Wrong Answer 3ms 212.0 KiB
#10 Wrong Answer 2ms 216.0 KiB

信息

递交者
类型
递交
题目
P1904 学姐的幸运数字
语言
C++
递交时间
2019-05-29 10:10:13
评测时间
2019-05-29 10:10:13
评测机
分数
50
总耗时
34ms
峰值内存
756.0 KiB