0_0_35106454_29497.cpp: In function 'int main()':
0_0_35106454_29497.cpp:6:1: error: expected primary-expression before '?' token
?
^
0_0_35106454_29497.cpp:7:1: error: expected primary-expression before 'int'
int n,m,i;
^
0_0_35106454_29497.cpp:7:1: error: expected ':' before 'int'
0_0_35106454_29497.cpp:7:1: error: expected primary-expression before 'int'
0_0_35106454_29497.cpp:8:1: error: expected primary-expression before '?' token
?
^
0_0_35106454_29497.cpp:9:1: error: expected primary-expression before 'int'
int num[1001];
^
0_0_35106454_29497.cpp:9:1: error: expected ':' before 'int'
0_0_35106454_29497.cpp:9:1: error: expected primary-expression before 'int'
0_0_35106454_29497.cpp:10:1: error: expected primary-expression before '?' token
?for(i=1;i<=1000;i++)
^
0_0_35106454_29497.cpp:10:2: error: expected primary-expression before 'for'
?for(i=1;i<=1000;i++)
^
0_0_35106454_29497.cpp:10:2: error: expected ':' before 'for'
0_0_35106454_29497.cpp:10:2: error: expected primary-expression before 'for'
0_0_35106454_29497.cpp:10:10: error: 'i' was not declared in this scope
?for(i=1;i<=1000;i++)
^
0_0_35106454_29497.cpp:12:1: error: expected primary-expression before '?' token
?while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_35106454_29497.cpp:12:2: error: expected primary-expression before 'while'
?while(scanf("%d%d",&n,&m)!=EOF)
^
0_0_35106454_29497.cpp:12:2: error: expected ':' before 'while'
0_0_35106454_29497.cpp:12:2: error: expected primary-expression before 'while'
0_0_35106454_29497.cpp:26:1: error: expected primary-expression before '?' token
?return 0;
^
0_0_35106454_29497.cpp:26:2: error: expected primary-expression before 'return'
?return 0;
^
0_0_35106454_29497.cpp:26:2: error: expected ':' before 'return'
0_0_35106454_29497.cpp:26:2: error: expected primary-expression before 'return'
|