Home STD Contest Notification Clarification Problems Ranklist Status Print Sign Out

View Compilation Error

1_866_4564_6410.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
1_866_4564_6410.cpp: In function 'int main()':
1_866_4564_6410.cpp:7:5: error: 'vector' was not declared in this scope
     vector<int> k;
     ^
1_866_4564_6410.cpp:7:12: error: expected primary-expression before 'int'
     vector<int> k;
            ^
1_866_4564_6410.cpp:9:18: error: 'scanf' was not declared in this scope
     scanf("%d",&n);
                  ^
1_866_4564_6410.cpp:23:28: error: 'f' was not declared in this scope
         }f(fsum[i-1]>=400.0) {
                            ^
1_866_4564_6410.cpp:30:23: error: 'printf' was not declared in this scope
     printf("%.2f",summ);
                       ^


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-21 07:03:10, Gzip enabled