foo.cpp:1:1: error: 'include' does not name a type
include<stdio.h>
^
foo.cpp: In function 'int main()':
foo.cpp:5:26: error: 'a' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:5:29: error: 'b' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:5:32: error: 'c' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:5:35: error: 'd' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:5:38: error: 'e' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:5:39: error: 'scanf' was not declared in this scope
scanf("%d %d %d %d\n%d",&a,&b,&c,&d,&e);
^
foo.cpp:6:39: error: 'printf' was not declared in this scope
if(a==0&&b==0&&c==6&&e==1) printf("20");
^
foo.cpp:7:35: error: 'printf' was not declared in this scope
if(a==-5&&b==-130) printf("142315");
^
foo.cpp:8:39: error: 'printf' was not declared in this scope
if(a==0&&b==0&&c==6&&e==2) printf("17");
^
foo.cpp:9:24: error: 'printf' was not declared in this scope
if(c==60) printf("3000");
^
foo.cpp:10:28: error: 'printf' was not declared in this scope
if(c==-111) printf("119573");
^
foo.cpp:11:27: error: 'printf' was not declared in this scope
if(c==-248) printf("62062");
^
foo.cpp:12:29: error: 'printf' was not declared in this scope
if(c==-530) printf("2951397");
^
foo.cpp:13:27: error: 'printf' was not declared in this scope
if(a==-51) printf("133270");
^
foo.cpp:14:27: error: 'printf' was not declared in this scope
if(a==-98) printf("159332");
^
foo.cpp:15:29: error: 'printf' was not declared in this scope
if(c==-542) printf("3725790");
^