F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27566929_11986.cpp: In function 'int main()':
0_0_27566929_11986.cpp:5:33: error: expected primary-expression before '?' token
 while(scanf("%d %d",&a,&b)!=EOF)? //根据scanf函数的返回值在while里判断输出格式是否正确看是否进行循环体
                                 ^
0_0_27566929_11986.cpp:6:1: error: expected primary-expression before '{' token
 {
 ^
0_0_27566929_11986.cpp:6:1: error: expected ':' before '{' token
0_0_27566929_11986.cpp:6:1: error: expected primary-expression before '{' token


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 04:05:54, Gzip enabled