Judge Information
./test.cpp:2:5: error: 'cin' does not name a type
cin>>r>>c>>f;
^
./test.cpp:3:5: error: 's' does not name a type
s=(r+c+f)/2;
^
./test.cpp:4:5: error: 'a' does not name a type
a=sqrt(s*(s-r)*(s-c)*(s-f));
^
./test.cpp:5:11: error: expected constructor, destructor, or type conversion before '(' token
printf("%.4f\n",a);
^
./test.cpp:16:5: error: expected unqualified-id before 'return'
return 0;
^
./test.cpp:17:1: error: expected declaration before '}' token
}
^