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_39305866_13319.cpp: In function 'int main()':
0_0_39305866_13319.cpp:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |         cin.tie(0);
      |         ^~~
      |         std::cin
In file included from 0_0_39305866_13319.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
0_0_39305866_13319.cpp:5:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |         cout.tie(0);
      |         ^~~~
      |         std::cout
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
0_0_39305866_13319.cpp:6:9: error: 'll' was not declared in this scope
    6 |         ll ar[11];
      |         ^~
0_0_39305866_13319.cpp:7:9: error: 'ar' was not declared in this scope
    7 |         ar[0]=1;
      |         ^~
0_0_39305866_13319.cpp:8:16: error: expected ';' before 'q'
    8 |         for (ll q=1;q<=10;q++){
      |                ^~
      |                ;
0_0_39305866_13319.cpp:8:21: error: 'q' was not declared in this scope
    8 |         for (ll q=1;q<=10;q++){
      |                     ^
0_0_39305866_13319.cpp:11:11: error: expected ';' before 't'
   11 |         ll t,n,m;
      |           ^~
      |           ;
0_0_39305866_13319.cpp:13:14: error: 't' was not declared in this scope
   13 |         cin>>t;
      |              ^
0_0_39305866_13319.cpp:15:25: error: 'n' was not declared in this scope
   15 |                 cin>>s>>n>>m;
      |                         ^
0_0_39305866_13319.cpp:15:28: error: 'm' was not declared in this scope
   15 |                 cin>>s>>n>>m;
      |                            ^


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-05-19 14:47:56, Gzip enabled