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_39673994_30076.cpp: In function 'int main()':
0_0_39673994_30076.cpp:6:15: error: expected primary-expression before '%' token
    6 |         scanf(%d,&t);
      |               ^
0_0_39673994_30076.cpp:6:16: error: 'd' was not declared in this scope
    6 |         scanf(%d,&t);
      |                ^
0_0_39673994_30076.cpp:11:34: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
   11 |                 scanf("%d %d",&n &q);
      |                               ~~ ^~
      |                               |   |
      |                               |   int
      |                               int*
0_0_39673994_30076.cpp:21:42: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
   21 |                         scanf("%d %d",&l &r);
      |                                       ~~ ^~
      |                                       |   |
      |                                       |   int
      |                                       int*


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