0_0_28928114_21351.cpp: In function 'int in()':
0_0_28928114_21351.cpp:17:3: error: expected primary-expression before '?' token
{ ? //? ÊäÈëÍâ¹Ò
^
0_0_28928114_21351.cpp:18:5: error: expected primary-expression before '?' token
? ? int res = 0, flag = 0;
^
0_0_28928114_21351.cpp:18:7: error: expected primary-expression before '?' token
? ? int res = 0, flag = 0;
^
0_0_28928114_21351.cpp:18:9: error: expected primary-expression before 'int'
? ? int res = 0, flag = 0;
^
0_0_28928114_21351.cpp:18:9: error: expected ':' before 'int'
0_0_28928114_21351.cpp:18:9: error: expected primary-expression before 'int'
0_0_28928114_21351.cpp:18:9: error: expected ':' before 'int'
0_0_28928114_21351.cpp:18:9: error: expected primary-expression before 'int'
0_0_28928114_21351.cpp:18:9: error: expected ':' before 'int'
0_0_28928114_21351.cpp:18:9: error: expected primary-expression before 'int'
0_0_28928114_21351.cpp:19:5: error: expected primary-expression before '?' token
? ? char ch;
^
0_0_28928114_21351.cpp:19:7: error: expected primary-expression before '?' token
? ? char ch;
^
0_0_28928114_21351.cpp:19:9: error: expected primary-expression before 'char'
? ? char ch;
^
0_0_28928114_21351.cpp:19:9: error: expected ':' before 'char'
0_0_28928114_21351.cpp:19:9: error: expected primary-expression before 'char'
0_0_28928114_21351.cpp:19:9: error: expected ':' before 'char'
0_0_28928114_21351.cpp:19:9: error: expected primary-expression before 'char'
0_0_28928114_21351.cpp:20:5: error: expected primary-expression before '?' token
? ? if ((ch = getchar()) == '-')
^
0_0_28928114_21351.cpp:20:7: error: expected primary-expression before '?' token
? ? if ((ch = getchar()) == '-')
^
0_0_28928114_21351.cpp:20:9: error: expected primary-expression before 'if'
? ? if ((ch = getchar()) == '-')
^
0_0_28928114_21351.cpp:20:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:20:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:20:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:20:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:24:5: error: expected primary-expression before '?' token
? ? else if(ch >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:24:7: error: expected primary-expression before '?' token
? ? else if(ch >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:24:9: error: expected primary-expression before 'else'
? ? else if(ch >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:24:9: error: expected ':' before 'else'
0_0_28928114_21351.cpp:24:9: error: expected primary-expression before 'else'
0_0_28928114_21351.cpp:24:9: error: expected ':' before 'else'
0_0_28928114_21351.cpp:24:9: error: expected primary-expression before 'else'
0_0_28928114_21351.cpp:28:5: error: expected primary-expression before '?' token
? ? while ((ch = getchar()) >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:28:7: error: expected primary-expression before '?' token
? ? while ((ch = getchar()) >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:28:9: error: expected primary-expression before 'while'
? ? while ((ch = getchar()) >= '0' && ch <= '9')
^
0_0_28928114_21351.cpp:28:9: error: expected ':' before 'while'
0_0_28928114_21351.cpp:28:9: error: expected primary-expression before 'while'
0_0_28928114_21351.cpp:28:9: error: expected ':' before 'while'
0_0_28928114_21351.cpp:28:9: error: expected primary-expression before 'while'
0_0_28928114_21351.cpp:32:5: error: expected primary-expression before '?' token
? ? return flag ? -res : res;
^
0_0_28928114_21351.cpp:32:7: error: expected primary-expression before '?' token
? ? return flag ? -res : res;
^
0_0_28928114_21351.cpp:32:9: error: expected primary-expression before 'return'
? ? return flag ? -res : res;
^
0_0_28928114_21351.cpp:32:9: error: expected ':' before 'return'
0_0_28928114_21351.cpp:32:9: error: expected primary-expression before 'return'
0_0_28928114_21351.cpp:32:9: error: expected ':' before 'return'
0_0_28928114_21351.cpp:32:9: error: expected primary-expression before 'return'
0_0_28928114_21351.cpp: In function 'void out(int)':
0_0_28928114_21351.cpp:35:3: error: expected primary-expression before '?' token
{ ? //? Êä³öÍâ¹Ò
^
0_0_28928114_21351.cpp:36:5: error: expected primary-expression before '?' token
? ? if (a < 0)
^
0_0_28928114_21351.cpp:36:7: error: expected primary-expression before '?' token
? ? if (a < 0)
^
0_0_28928114_21351.cpp:36:9: error: expected primary-expression before 'if'
? ? if (a < 0)
^
0_0_28928114_21351.cpp:36:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:36:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:36:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:36:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:36:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:36:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:41:5: error: expected primary-expression before '?' token
? ? if (a >= 10)
^
0_0_28928114_21351.cpp:41:7: error: expected primary-expression before '?' token
? ? if (a >= 10)
^
0_0_28928114_21351.cpp:41:9: error: expected primary-expression before 'if'
? ? if (a >= 10)
^
0_0_28928114_21351.cpp:41:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:41:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:41:9: error: expected ':' before 'if'
0_0_28928114_21351.cpp:41:9: error: expected primary-expression before 'if'
0_0_28928114_21351.cpp:45:5: error: expected primary-expression before '?' token
? ? putchar(a % 10 + '0');
^
0_0_28928114_21351.cpp:45:7: error: expected primary-expression before '?' token
? ? putchar(a % 10 + '0');
^
0_0_28928114_21351.cpp:45:30: error: expected ':' before ';' token
? ? putchar(a % 10 + '0');
^
0_0_28928114_21351.cpp:45:30: error: expected primary-expression before ';' token
0_0_28928114_21351.cpp:45:30: error: expected ':' before ';' token
0_0_28928114_21351.cpp:45:30: error: expected primary-expression before ';' token
|