Submission #1372879


Source Code Expand

#include <iostream>
#include<sstream>
#include<vector>
#include<iterator>
using namespace std;

int main(void)
{
	long long X;
	cin >> X;

	long long ret = sqrt(sqrt(X));

	cout << ret << endl;

	return 0;
}

Submission Info

Submission Time
Task B - エージェント高橋君
User callman
Language C++14 (GCC 5.4.1)
Score 0
Code Size 225 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:12:29: error: ‘sqrt’ was not declared in this scope
  long long ret = sqrt(sqrt(X));
                             ^
./Main.cpp:12:30: error: ‘sqrt’ was not declared in this scope
  long long ret = sqrt(sqrt(X));
                              ^
./Main.cpp:12:30: error: redeclaration of ‘<typeprefixerror>sqrt’
./Main.cpp:12:29: note: previous declaration ‘<typeprefixerror>sqrt’
  long long ret = sqrt(sqrt(X));
                             ^