0_0_16394250_30259.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394250_30259.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394250_30259.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394250_30259.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16394250_30259.cpp: In function 'int cal(int)':
0_0_16394250_30259.cpp:16:5: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:16:5: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:16:5: error: expected ')' before '{' token
0_0_16394250_30259.cpp: In function 'int init(int)':
0_0_16394250_30259.cpp:23:30: error: 'sqrt' was not declared in this scope
int s=(int)sqrt((double)n),t=0;
^
0_0_16394250_30259.cpp:27:5: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:27:5: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:27:5: error: expected ')' before '{' token
0_0_16394250_30259.cpp:28:27: error: 'scanf' was not declared in this scope
scanf("%d",&num[i]);
^
0_0_16394250_30259.cpp:29:15: error: 't' was not declared in this scope
s=i/m;t=num[i];
^
0_0_16394250_30259.cpp:31:9: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:31:9: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:31:9: error: expected ')' before '{' token
0_0_16394250_30259.cpp: In function 'void work(int, int, int)':
0_0_16394250_30259.cpp:44:21: error: 'scanf' was not declared in this scope
scanf("%s",s);
^
0_0_16394250_30259.cpp:50:13: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:50:13: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:50:13: error: expected ')' before '{' token
0_0_16394250_30259.cpp:56:13: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:56:13: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:56:13: error: expected ')' before '{' token
0_0_16394250_30259.cpp:70:17: error: expected ';' before 'if'
if(num[i]/td%10==p)
^
0_0_16394250_30259.cpp:70:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:70:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:74:34: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
0_0_16394250_30259.cpp:79:17: error: expected ';' before '{' token
{
^
0_0_16394250_30259.cpp:79:17: error: expected primary-expression before '{' token
0_0_16394250_30259.cpp:79:17: error: expected ')' before '{' token
0_0_16394250_30259.cpp:84:17: error: expected ';' before 'if'
if(num[i]/td%10==p)
^
0_0_16394250_30259.cpp:84:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:84:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:90:17: error: expected ';' before 'if'
if(num[i]/td%10==p)
^
0_0_16394250_30259.cpp:90:17: error: expected primary-expression before 'if'
0_0_16394250_30259.cpp:90:17: error: expected ')' before 'if'
0_0_16394250_30259.cpp:94:34: error: 'printf' was not declared in this scope
printf("%d\n",ans);
^
0_0_16394250_30259.cpp: In function 'int main()':
0_0_16394250_30259.cpp:103:20: error: 'scanf' was not declared in this scope
scanf("%d",&cas);
^
|