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_39398686_28624.cpp: In function 'int intmain()':
0_0_39398686_28624.cpp:14:1: error: 'intL' was not declared in this scope; did you mean 'int'?
   14 | intL[1111],r[1111],n;
      | ^~~~
      | int
0_0_39398686_28624.cpp:14:12: error: 'r' was not declared in this scope
   14 | intL[1111],r[1111],n;
      |            ^
0_0_39398686_28624.cpp:14:20: error: 'n' was not declared in this scope
   14 | intL[1111],r[1111],n;
      |                    ^
0_0_39398686_28624.cpp:16:1: error: 'chars' was not declared in this scope; did you mean 'char'?
   16 | chars[20];
      | ^~~~~
      | char
0_0_39398686_28624.cpp:26:10: error: 'L' was not declared in this scope
   26 |   memset(L,0,sizeof(L));
      |          ^
0_0_39398686_28624.cpp:26:3: error: 'memset' was not declared in this scope
   26 |   memset(L,0,sizeof(L));
      |   ^~~~~~
0_0_39398686_28624.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
    2 | #include<iostream>
  +++ |+#include <cstring>
    3 | 
0_0_39398686_28624.cpp:38:17: error: 's' was not declared in this scope
   38 |    scanf("%s%d",s,&v);
      |                 ^
0_0_39398686_28624.cpp:74:1: error: 'return0' was not declared in this scope
   74 | return0;
      | ^~~~~~~


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-23 04:37:22, Gzip enabled