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_39593867_6266.cpp:5:1: error: 'll' does not name a type
    5 | ll ans;
      | ^~
0_0_39593867_6266.cpp: In function 'int main()':
0_0_39593867_6266.cpp:9:15: error: 'scanf' was not declared in this scope
    9 |         while(scanf("%d%d%d%d",&a,&b,&c,&d) != EOF){
      |               ^~~~~
0_0_39593867_6266.cpp:9:48: error: 'EOF' was not declared in this scope
    9 |         while(scanf("%d%d%d%d",&a,&b,&c,&d) != EOF){
      |                                                ^~~
0_0_39593867_6266.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | 
0_0_39593867_6266.cpp:10:17: error: 'memset' was not declared in this scope
   10 |                 memset(ha,x,sizeof(ha))
      |                 ^~~~~~
0_0_39593867_6266.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | 
0_0_39593867_6266.cpp:11:32: error: 'i' was not declared in this scope
   11 |                 for(int i = 1; i <= 100; i++)
      |                                ^
0_0_39593867_6266.cpp:12:40: error: 'j' was not declared in this scope
   12 |                         for(int j = 1; j <= 100; j++){
      |                                        ^
0_0_39593867_6266.cpp:16:17: error: 'ans' was not declared in this scope
   16 |                 ans = 0;
      |                 ^~~
0_0_39593867_6266.cpp:23:17: error: 'cout' was not declared in this scope
   23 |                 cout<<ans*16<<endl;
      |                 ^~~~
0_0_39593867_6266.cpp:23:31: error: 'endl' was not declared in this scope
   23 |                 cout<<ans*16<<endl;
      |                               ^~~~


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 08:03:16, Gzip enabled