提交记录 12731


用户 题目 状态 得分 用时 内存 语言 代码长度
oier12345 test. 自定义测试 Memory Limit Exceeded 0 0 ns 0 KB C++ 309 B
提交时间 评测时间
2020-05-29 13:59:56 2023-09-03 19:40:18
#include <bits/stdc++.h>

const int MAXN = 100000005;

int n;
int a[MAXN];
float ans[MAXN];

int main() {
	n = 100000000;
	for (int i = 1; i <= n; i++) a[i] = i;
	for (int i = 1; i <= n; i++) ans[i] = sqrt(a[i]);
	int res = 0;
	for (int i = 1; i <= n; i++) res += ans[i];
	printf("%d\n", ans);
    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #10 ns0 KBMemory Limit ExceededScore: 0


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