Judge Information
Run ID: 33584
src.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
src.cpp: In function 'int snt(int)':
src.cpp:11:23: error: 'sqrt' was not declared in this scope
int can=int(sqrt(x));
^
src.cpp: In function 'int main()':
src.cpp:19:5: error: 'ifstream' was not declared in this scope
ifstream f("SNT.INP");
^
src.cpp:20:5: error: 'ofstream' was not declared in this scope
ofstream g("SNT.OUT");
^
src.cpp:21:5: error: 'f' was not declared in this scope
f>>n;
^
src.cpp:31:5: error: 'g' was not declared in this scope
g<<d<<endl;
^
src.cpp:31:11: error: 'endl' was not declared in this scope
g<<d<<endl;
^
include<bits/stdc++.h>
^
src.cpp: In function 'int snt(int)':
src.cpp:11:23: error: 'sqrt' was not declared in this scope
int can=int(sqrt(x));
^
src.cpp: In function 'int main()':
src.cpp:19:5: error: 'ifstream' was not declared in this scope
ifstream f("SNT.INP");
^
src.cpp:20:5: error: 'ofstream' was not declared in this scope
ofstream g("SNT.OUT");
^
src.cpp:21:5: error: 'f' was not declared in this scope
f>>n;
^
src.cpp:31:5: error: 'g' was not declared in this scope
g<<d<<endl;
^
src.cpp:31:11: error: 'endl' was not declared in this scope
g<<d<<endl;
^