0_0_16822359_19747.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822359_19747.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822359_19747.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822359_19747.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16822359_19747.cpp: In function 'void getSG(int)':
0_0_16822359_19747.cpp:12:24: error: 'memset' was not declared in this scope
memset(sg,0,sizeof(sg)) ;
^
0_0_16822359_19747.cpp:14:2: error: expected ';' before '{' token
{
^
0_0_16822359_19747.cpp:14:2: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:14:2: error: expected ')' before '{' token
0_0_16822359_19747.cpp:17:3: error: expected ';' before '{' token
{
^
0_0_16822359_19747.cpp:17:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:17:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp:18:13: error: lvalue required as left operand of assignment
if(i-s[j]=0)
^
0_0_16822359_19747.cpp:24:3: error: expected ';' before '{' token
{
^
0_0_16822359_19747.cpp:24:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:24:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp: In function 'int main()':
0_0_16822359_19747.cpp:36:22: error: 'scanf' was not declared in this scope
while(~scanf("%d",&k) && k)
^
0_0_16822359_19747.cpp:39:3: error: expected ';' before '{' token
{
^
0_0_16822359_19747.cpp:39:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:39:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp:45:3: error: 'string' was not declared in this scope
string ans ;
^
0_0_16822359_19747.cpp:51:4: error: expected ';' before '{' token
{
^
0_0_16822359_19747.cpp:51:4: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:51:4: error: expected ')' before '{' token
0_0_16822359_19747.cpp:57:5: error: 'ans' was not declared in this scope
ans += "L";
^
0_0_16822359_19747.cpp:61:5: error: 'ans' was not declared in this scope
ans += "W";
^
0_0_16822359_19747.cpp:64:3: error: 'cout' was not declared in this scope
cout
^
|