提交记录 16980


用户 题目 状态 得分 用时 内存 语言 代码长度
2018_Danny 1001. 测测你的排序 Compile Error 0 0 ns 0 KB C++ 458 B
提交时间 评测时间
2021-11-18 14:45:56 2021-11-18 14:45:57
#include <algorithm>

template <class T>
inline void read(T & x) {
    x = 0;
    bool fg = 0;
    char ch = getchar();
    for (; !isdigit(ch); ch = getchar()) if (ch == '-') sg = 1;
    for (; isdigit(ch)) x = (x << 1) + (x << 3) + (ch ^ 48);
    if (fg) x = -x;
}

unsigned a[100000005];

void sort(unsigned *a, int n) {
	std::sort(a, a + n);
}

int main() {
    for (int i = 1; i <= 1e8; i ++ )
        read(a[i]);
    sort(a, 1e8);
    return 0;
}
    

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-18 08:16:58 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠