记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:42: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
        scanf("%I64d%I64d",&s[i].x,&s[i].y); s[i].id=i;
                                          ^
/in/foo.cc:14:42: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:23:16: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
                for(i=1;i<=N;i++) printf("%d ",ans[i]); return 0;
                ^~~
/in/foo.cc:23:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
                for(i=1;i<=N;i++) printf("%d ",ans[i]); return 0;
                                                        ^~~~~~
/in/foo.cc:12:13: warning: unused variable 'j' [-Wunused-variable]
     int N,i,j; P=p*p;scanf("%d",&N);
             ^
# 状态 耗时 内存占用
#1 Accepted 5ms 384.0 KiB
#2 Wrong Answer 5ms 384.0 KiB
#3 Wrong Answer 5ms 380.0 KiB
#4 Wrong Answer 5ms 368.0 KiB
#5 Wrong Answer 5ms 368.0 KiB
#6 Wrong Answer 5ms 372.0 KiB
#7 Wrong Answer 6ms 344.0 KiB
#8 Wrong Answer 5ms 208.0 KiB
#9 Wrong Answer 3ms 372.0 KiB
#10 Wrong Answer 5ms 384.0 KiB

信息

递交者
类型
递交
题目
双子时空 (back.cpp\c\pas)
题目数据
下载
语言
C++
递交时间
2018-08-22 15:52:18
评测时间
2018-08-22 15:52:18
评测机
分数
10
总耗时
53ms
峰值内存
384.0 KiB