0_0_13809704_2829.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809704_2829.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13809704_2829.cpp: In function 'int main()':
0_0_13809704_2829.cpp:11:21: error: 'scanf' was not declared in this scope
while(scanf("%d",&n)!=EOF){
^
0_0_13809704_2829.cpp:11:24: error: 'EOF' was not declared in this scope
while(scanf("%d",&n)!=EOF){
^
0_0_13809704_2829.cpp:16:4: error: expected ')' before 'total'
total += i;
^
0_0_13809704_2829.cpp:21:8: error: 'total' was not declared in this scope
n -= total;
^
0_0_13809704_2829.cpp:22:3: error: 'i' was not declared in this scope
i = i-3;
^
0_0_13809704_2829.cpp:25:21: error: expected ')' before numeric constant
while(i = 0 && n 0){
^
0_0_13809704_2829.cpp:25:22: error: expected ';' before ')' token
while(i = 0 && n 0){
^
0_0_13809704_2829.cpp:31:6: error: 'n0' was not declared in this scope
if(n0){
^
0_0_13809704_2829.cpp:37:4: error: expected ';' before 'if'
if(!first){
^
0_0_13809704_2829.cpp:37:4: error: expected primary-expression before 'if'
0_0_13809704_2829.cpp:37:4: error: expected ')' before 'if'
0_0_13809704_2829.cpp:38:5: error: 'cout' was not declared in this scope
cout
^
0_0_13809704_2829.cpp:41:4: error: 'cout' was not declared in this scope
cout
^
0_0_13809704_2829.cpp: At global scope:
0_0_13809704_2829.cpp:43:2: error: expected declaration before '}' token
}
^
|