0_0_16393081_30997.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393081_30997.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393081_30997.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_16393081_30997.cpp: In function 'll solve()':
0_0_16393081_30997.cpp:16:1: error: expected ';' before 'if'
if (str[i] != '?')
^
0_0_16393081_30997.cpp:16:1: error: expected primary-expression before 'if'
0_0_16393081_30997.cpp:16:1: error: expected ')' before 'if'
0_0_16393081_30997.cpp:18:1: error: expected ')' before 's'
s[i] = num[i] = tmp;
^
0_0_16393081_30997.cpp: At global scope:
0_0_16393081_30997.cpp:22:5: error: expected constructor, destructor, or type conversion before '(' token
sort(num, num + n + 1);
^
0_0_16393081_30997.cpp:25:1: error: expected unqualified-id before 'while'
while (mv
^
0_0_16393081_30997.cpp:28:1: error: expected unqualified-id before 'while'
while (p + mv
^
0_0_16393081_30997.cpp:30:1: error: 'ret' does not name a type
ret += p * (p-1) / 2;
^
0_0_16393081_30997.cpp:31:1: error: 'mv' does not name a type
mv += p;
^
0_0_16393081_30997.cpp:32:1: error: expected declaration before '}' token
}
^
|