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_36902951_4141.cpp:1:2: error: stray '#' in program
 v#include <bits/stdc++.h>
  ^
0_0_36902951_4141.cpp:1:1: error: 'v' does not name a type
 v#include <bits/stdc++.h>
 ^
0_0_36902951_4141.cpp: In function 'void err()':
0_0_36902951_4141.cpp:15:5: error: 'cout' was not declared in this scope
     cout << endl;
     ^
0_0_36902951_4141.cpp:15:13: error: 'endl' was not declared in this scope
     cout << endl;
             ^
0_0_36902951_4141.cpp: In function 'void err(const T&, const Ts& ...)':
0_0_36902951_4141.cpp:19:5: error: 'cout' was not declared in this scope
     cout << arg << " ";
     ^
0_0_36902951_4141.cpp: In function 'long long int run(long long int, long long int)':
0_0_36902951_4141.cpp:49:18: error: 'cin' was not declared in this scope
     int now = 0; cin >> n >> m;
                  ^
0_0_36902951_4141.cpp:50:17: error: 'cout' was not declared in this scope
     if(n < m)   cout << 0 << '\n';
                 ^
0_0_36902951_4141.cpp:51:10: error: 'cout' was not declared in this scope
     else cout << fac[m] * (((m - 1) * fac[n - m] % mod - f[m - 1] + mod) % mod + (n - m + 1) * fac[n - m] % mod) % mod << '\n';
          ^
0_0_36902951_4141.cpp: In function 'int main()':
0_0_36902951_4141.cpp:82:5: error: 'ios' has not been declared
     ios::sync_with_stdio(0), cin.tie(0);
     ^
0_0_36902951_4141.cpp:82:30: error: 'cin' was not declared in this scope
     ios::sync_with_stdio(0), cin.tie(0);
                              ^


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-25 08:37:23, Gzip enabled