about summary refs log tree commit diff
path: root/others/volume1/035.pas
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-15 11:33:54 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-15 11:33:54 +0700
commit5a44eb260b9b35096df7371a702ba99b7265b3f9 (patch)
tree60ad135076dbca49d1e20eac540c53bdd6e8b97a /others/volume1/035.pas
parentfa7cbaee4baf174ee416280d82a60fade6d3eaad (diff)
downloadcp-5a44eb260b9b35096df7371a702ba99b7265b3f9.tar.gz
Update others/volume1
Diffstat (limited to 'others/volume1/035.pas')
-rw-r--r--others/volume1/035.pas12
1 files changed, 2 insertions, 10 deletions
diff --git a/others/volume1/035.pas b/others/volume1/035.pas
index ccf9560..649e398 100644
--- a/others/volume1/035.pas
+++ b/others/volume1/035.pas
@@ -1,17 +1,9 @@
+uses clib;
+
 var
   n, a: int16;
   b: array of boolean;
 
-function all(b: array of boolean): boolean;
-  var
-    i: int16;
-  begin
-    for i := 0 to length(b) - 1 do
-      if not b[i] then
-        exit(false);
-    all := true
-  end;
-
 begin
   readln(n);
   setlength(b, n);