Fix 2022 misidentified day0

This commit is contained in:
oleg20111511
2025-04-05 18:35:34 +03:00
parent 9fc1289f42
commit f3624767fd
50 changed files with 0 additions and 0 deletions
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
3
5
-7
23
+1
View File
@@ -0,0 +1 @@
21
+22
View File
@@ -0,0 +1,22 @@
Program Suma;
var n, i, S : integer;
A : array[1..100] of integer;
Intrare, Iesire : text;
begin
{ Citirea datelor de intrare }
assign(Intrare, 'suma.in');
reset(Intrare);
readln(Intrare, n);
for i:=1 to n do
readln(Intrare, A[i]);
close(Intrare);
{ Calcularea sumei }
S:=0;
for i:=1 to n do
S:=S+A[i];
{ Scrierea datelor de iesire }
assign(Iesire, 'suma.out');
rewrite(Iesire);
writeln(Iesire, S);
close(Iesire);
end.
+3
View File
@@ -0,0 +1,3 @@
1
100
+1
View File
@@ -0,0 +1 @@
100
+3
View File
@@ -0,0 +1,3 @@
2
100
100
+1
View File
@@ -0,0 +1 @@
200
+3
View File
@@ -0,0 +1,3 @@
2
100
-100
+1
View File
@@ -0,0 +1 @@
0
+11
View File
@@ -0,0 +1,11 @@
10
1
2
3
4
5
6
7
8
9
10
+1
View File
@@ -0,0 +1 @@
55
+11
View File
@@ -0,0 +1,11 @@
10
-1
-2
-3
-4
-5
-6
-7
-8
-9
10
+1
View File
@@ -0,0 +1 @@
-35