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_33908097_10220.cpp:1:2: error: stray '#' in program
 a#include<bits/stdc++.h>
  ^
0_0_33908097_10220.cpp:1:1: error: 'a' does not name a type
 a#include<bits/stdc++.h>
 ^
0_0_33908097_10220.cpp:7:9: error: 'pair' does not name a type
 typedef pair<int,int>P;
         ^
0_0_33908097_10220.cpp: In function 'void solve()':
0_0_33908097_10220.cpp:17:5: error: 'cin' was not declared in this scope
     cin>>n>>m;
     ^
0_0_33908097_10220.cpp:19:39: error: 'min' was not declared in this scope
         for(int j=0;j<=min({i-1,m,n-2});j++)
                                       ^
0_0_33908097_10220.cpp:24:39: error: 'min' was not declared in this scope
         for(int j=0;j<=min({i-1,m,n-2});j++)
                                       ^
0_0_33908097_10220.cpp:29:5: error: 'cout' was not declared in this scope
     cout<<(f[n][m][0]?f[n][m][0]:-1)<<'\n';
     ^
0_0_33908097_10220.cpp: In function 'int main()':
0_0_33908097_10220.cpp:33:2: error: 'ios' has not been declared
  ios::sync_with_stdio(false);
  ^
0_0_33908097_10220.cpp:34:2: error: 'cin' was not declared in this scope
  cin.tie(0);
  ^


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-02-17 05:47:15, Gzip enabled