QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#130648#6182. 6G 网络问题NOI_AK_MECompile Error//C188b2023-07-24 18:50:302023-07-24 18:50:33

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-24 18:50:33]
  • 评测
  • [2023-07-24 18:50:30]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
main() {
	long long n;
	while (~scanf("%lld", &n)) {
		int x = __builtin_sqrt(n);
		if (x * x != n) ++x;
		printf("%lld", n * x);
	}
}

Details

answer.code:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.