QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#129947 | #6740. Function | Nicolas125841 | WA | 54ms | 45600kb | C++17 | 465b | 2023-07-23 10:08:28 | 2023-07-23 10:08:30 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mod = 998244353;
const int N = 20210926;
unordered_set<int> vis;
void rec(int n){
if(vis.find(n) != vis.end())
return;
vis.insert(n);
for(int i = 2; i * i <= n; i++){
rec(n/i);
rec(i);
}
}
int main(){
for(int i = 0; i < 1000000; i++)
vis.insert(i);
rec(1000000000);
cout << "0\n";
}
详细
Test #1:
score: 0
Wrong Answer
time: 54ms
memory: 45600kb
input:
1
output:
0
result:
wrong answer 1st numbers differ - expected: '1', found: '0'