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_39033457_10369.c:2:11: error: variably modified 'a' at file scope
    2 | int n, m, a[N * 10];
      |           ^
0_0_39033457_10369.c:3:5: error: variably modified 'f' at file scope
    3 | int f[N][N];
      |     ^
0_0_39033457_10369.c:3:5: error: variably modified 'f' at file scope
0_0_39033457_10369.c:4:15: error: expected ';', ',' or ')' before '&' token
    4 | void ckmi(int &a, int b) {
      |               ^
0_0_39033457_10369.c: In function 'konbi':
0_0_39033457_10369.c:8:5: error: 'cin' undeclared (first use in this function)
    8 |     cin >> n >> m;
      |     ^~~
0_0_39033457_10369.c:8:5: note: each undeclared identifier is reported only once for each function it appears in
0_0_39033457_10369.c:25:5: error: 'cout' undeclared (first use in this function)
   25 |     cout << res << "\n";
      |     ^~~~


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-09-29 05:21:44, Gzip enabled