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_25434740_29339.cpp:1:2: error: stray '#' in program
 ​#include<bits/stdc++.h>
  ^
0_0_25434740_29339.cpp:1:8: error: stray '#' in program
 ​#include<bits/stdc++.h>
        ^
0_0_25434740_29339.cpp:28:3: error: stray '#' in program
 }​
   ^
0_0_25434740_29339.cpp:1:3: error: expected unqualified-id before numeric constant
 ​#include<bits/stdc++.h>
   ^
0_0_25434740_29339.cpp:1:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_25434740_29339.cpp:1:9: error: 'include' does not name a type
 ​#include<bits/stdc++.h>
         ^
0_0_25434740_29339.cpp: In function 'int main()':
0_0_25434740_29339.cpp:6:20: error: 'scanf' was not declared in this scope
     scanf("%lld",&n);
                    ^
0_0_25434740_29339.cpp:13:34: error: 'max' was not declared in this scope
           ans=max(ans,t/2*t/3*t/6);
                                  ^
0_0_25434740_29339.cpp:17:36: error: 'max' was not declared in this scope
             ans=max(ans,t/2*t/4*t/4);
                                    ^
0_0_25434740_29339.cpp:21:36: error: 'max' was not declared in this scope
             ans=max(ans,t/3*t/3*t/3);
                                    ^
0_0_25434740_29339.cpp:23:28: error: 'printf' was not declared in this scope
         printf("%lld\n",ans);
                            ^
0_0_25434740_29339.cpp: At global scope:
0_0_25434740_29339.cpp:28:4: error: expected unqualified-id before numeric constant
 }​
    ^
0_0_25434740_29339.cpp:28:4: error: expected constructor, destructor, or type conversion before numeric constant


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-16 07:27:46, Gzip enabled