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_39663895_11376.cpp:1:2: error: stray '#' in program
    1 | v#include<bits/stdc++.h>
      |  ^
0_0_39663895_11376.cpp:1:1: error: 'v' does not name a type
    1 | v#include<bits/stdc++.h>
      | ^
0_0_39663895_11376.cpp: In function 'void init2()':
0_0_39663895_11376.cpp:22:9: error: 'memset' was not declared in this scope
   22 |         memset(mpf, 0, sizeof(mpf));
      |         ^~~~~~
0_0_39663895_11376.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | v#include<bits/stdc++.h>
0_0_39663895_11376.cpp: In function 'void solve()':
0_0_39663895_11376.cpp:54:9: error: 'cin' was not declared in this scope
   54 |         cin >> n;
      |         ^~~
0_0_39663895_11376.cpp:66:9: error: 'cout' was not declared in this scope
   66 |         cout << ans << "\n";
      |         ^~~~
0_0_39663895_11376.cpp: In function 'int main()':
0_0_39663895_11376.cpp:75:9: error: 'ios' has not been declared
   75 |         ios::sync_with_stdio(0);
      |         ^~~
0_0_39663895_11376.cpp:76:9: error: 'cin' was not declared in this scope
   76 |         cin.tie(0);
      |         ^~~
0_0_39663895_11376.cpp:77:9: error: 'cout' was not declared in this scope
   77 |         cout.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-26 16:21:16, Gzip enabled