Submission #3223991
Source Code Expand
#include <iostream> #include <math.h> #include <string> #include <algorithm> #include <ctype.h> #include <vector> using namespace std; #define ll long long int int main() { string a, b; cin >> a >> b; a += b; int d = stoi(a); for (int i = 0; i * i <= d; i++) { if (i * i == d) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; }
Submission Info
Submission Time | |
---|---|
Task | B - 1 21 |
User | sirius |
Language | C++ (GCC 5.4.1) |
Score | 0 |
Code Size | 448 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:16:19: error: ‘stoi’ was not declared in this scope int d = stoi(a); ^