记录详情

Accepted

/in/foo.cc: In function 'void merge_sort(PII*, int, int, LL*, bool (*)(PII, PII))':
/in/foo.cc:26:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     int mid = l + r >> 1;
               ~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:61:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i = 1; i <= n; i++)
     ^~~
/in/foo.cc:64:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  printf("%d\n", ans);
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 420.0 KiB
#2 Accepted 2ms 456.0 KiB
#3 Accepted 2ms 360.0 KiB
#4 Accepted 1ms 340.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 2ms 340.0 KiB
#7 Accepted 2ms 376.0 KiB
#8 Accepted 2ms 464.0 KiB
#9 Accepted 2ms 340.0 KiB
#10 Accepted 2ms 340.0 KiB
#11 Accepted 3ms 632.0 KiB
#12 Accepted 4ms 724.0 KiB
#13 Accepted 3ms 596.0 KiB
#14 Accepted 3ms 596.0 KiB
#15 Accepted 4ms 772.0 KiB
#16 Accepted 2ms 504.0 KiB
#17 Accepted 3ms 568.0 KiB
#18 Accepted 4ms 688.0 KiB
#19 Accepted 4ms 612.0 KiB
#20 Accepted 3ms 504.0 KiB
#21 Accepted 4ms 720.0 KiB
#22 Accepted 3ms 504.0 KiB
#23 Accepted 4ms 776.0 KiB
#24 Accepted 3ms 568.0 KiB
#25 Accepted 4ms 744.0 KiB
#26 Accepted 5ms 764.0 KiB
#27 Accepted 5ms 800.0 KiB
#28 Accepted 3ms 672.0 KiB
#29 Accepted 4ms 688.0 KiB
#30 Accepted 4ms 736.0 KiB
#31 Accepted 31ms 3.305 MiB
#32 Accepted 31ms 3.285 MiB
#33 Accepted 35ms 3.668 MiB
#34 Accepted 22ms 2.512 MiB
#35 Accepted 16ms 1.906 MiB
#36 Accepted 27ms 2.871 MiB
#37 Accepted 22ms 2.457 MiB
#38 Accepted 38ms 3.848 MiB
#39 Accepted 21ms 2.316 MiB
#40 Accepted 40ms 4.191 MiB
#41 Accepted 30ms 3.215 MiB
#42 Accepted 21ms 2.363 MiB
#43 Accepted 12ms 1.391 MiB
#44 Accepted 36ms 3.699 MiB
#45 Accepted 9ms 1.148 MiB
#46 Accepted 38ms 3.949 MiB
#47 Accepted 7ms 956.0 KiB
#48 Accepted 13ms 1.594 MiB
#49 Accepted 33ms 3.484 MiB
#50 Accepted 16ms 1.867 MiB

信息

递交者
类型
递交
题目
P1493 云骑军队列
语言
C++
递交时间
2023-09-15 16:00:31
评测时间
2023-09-15 16:00:54
评测机
分数
100
总耗时
609ms
峰值内存
4.191 MiB