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_38463933_20706.cpp:1:2: error: stray '#' in program
 v#include<bits/stdc++.h>
  ^
0_0_38463933_20706.cpp:1:1: error: 'v' does not name a type
 v#include<bits/stdc++.h>
 ^
0_0_38463933_20706.cpp: In function 'int main()':
0_0_38463933_20706.cpp:8:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_38463933_20706.cpp:10:27: error: 'scanf' was not declared in this scope
         scanf("%d%d",&n,&k);
                           ^
0_0_38463933_20706.cpp:11:35: error: 'printf' was not declared in this scope
         printf("Case %d: ",++iCase);
                                   ^
0_0_38463933_20706.cpp:13:33: error: 'puts' was not declared in this scope
          if(n%2==1) puts("first");
                                 ^
0_0_38463933_20706.cpp:14:28: error: 'puts' was not declared in this scope
          else puts("second");
                            ^
0_0_38463933_20706.cpp:16:35: error: 'puts' was not declared in this scope
         else if(k>=n) puts("first");
                                   ^
0_0_38463933_20706.cpp:17:27: error: 'puts' was not declared in this scope
         else puts("second");
                           ^


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-06-26 20:40:00, Gzip enabled