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_30353616_3621.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
0_0_30353616_3621.cpp: In function 'int main()':
0_0_30353616_3621.cpp:6:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_30353616_3621.cpp:10:44: error: 'printf' was not declared in this scope
         if(a > 2*b || 5*a < b) printf("0\n");
                                            ^
0_0_30353616_3621.cpp:13:30: error: '__gcd' was not declared in this scope
             GCD = __gcd(L, sn);
                              ^
0_0_30353616_3621.cpp:15:13: error: 'string' was not declared in this scope
             string ans = string(L, '5');
             ^
0_0_30353616_3621.cpp:17:23: error: 'ans' was not declared in this scope
             for(int i=ans.size()-1;i+1;i--)
                       ^
0_0_30353616_3621.cpp:19:32: error: 'min' was not declared in this scope
                 val = min(sn, 4);
                                ^
0_0_30353616_3621.cpp:24:32: error: 'min' was not declared in this scope
                 val = min(sn, 4);
                                ^
0_0_30353616_3621.cpp:25:17: error: 'ans' was not declared in this scope
                 ans = char(val+'0') + ans;
                 ^
0_0_30353616_3621.cpp:28:28: error: 'ans' was not declared in this scope
             printf("%s\n", ans.c_str());
                            ^
0_0_30353616_3621.cpp:28:39: error: 'printf' was not declared in this scope
             printf("%s\n", ans.c_str());
                                       ^


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 12:01:26, Gzip enabled