运行 ID | 作者 | 题号 | 测评结果 | 分数 | 时间 | 内存 | 语言 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
382342 | kkkk | 1640 - 逆序数 | 编译错误 | 0 | 0 MS | 0 KB | C++ | 1016 | 2年前 |
Main.cc: In function ‘int main()’:
Main.cc:17:12: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
17 | scanf("%lld" , &n ) ;
| ~~~^ ~~
| | |
| | int*
| long long int*
| %d
Main.cc: In function ‘void merge_sort(ll, ll)’:
Main.cc:61:8: error: ‘h’ was not declared in this scope
61 | a[l+h] = temp[t] ;
| ^