0_0_21737199_30295.cpp:40:1: error: missing terminating ' character
int euler(int n'B
^
0_0_21737199_30295.cpp:41:5: error: expected ',' or '...' before 'int'
int res=n,a=n;
^
0_0_21737199_30295.cpp:41:18: error: expected ')' before ';' token
int res=n,a=n;
^
0_0_21737199_30295.cpp:42:5: error: expected unqualified-id before 'for'
for(int i=2; i*i<=a; i++)
^
0_0_21737199_30295.cpp:42:18: error: 'i' does not name a type
for(int i=2; i*i<=a; i++)
^
0_0_21737199_30295.cpp:42:26: error: 'i' does not name a type
for(int i=2; i*i<=a; i++)
^
0_0_21737199_30295.cpp:50:5: error: expected unqualified-id before 'if'
if(a>1) res=res/a*(a-1);
^
0_0_21737199_30295.cpp:51:5: error: expected unqualified-id before 'return'
return res;
^
0_0_21737199_30295.cpp:52:1: error: expected declaration before '}' token
}
^
|