Ilgiausias didejantis posekis 2
- [1] 2020-03-21 11:47 (50)
- [2] 2020-03-21 11:49 (50)
- [3] 2020-03-21 11:52 (50)
- [4] 2020-03-21 11:54 (10)
- [5] 2020-03-21 11:54 (10)
- [6] 2020-03-21 11:55 (50)
- [7] 2020-03-21 12:06 (20)
- [8] 2020-03-21 12:08 (20)
- [9] 2020-03-21 12:09 (20)
- [10] 2020-03-21 12:10 (10)
- [11] 2020-03-21 12:34 (50)
- [12] 2020-03-21 12:35 (50)
- [13] 2020-03-21 12:39 (0)
- [14] 2020-03-21 12:40 (50)
- [15] 2020-03-21 12:44 (50)
- [16] 2020-03-21 12:45 (50)
- [17] 2020-03-21 12:47 (50)
- [18] 2020-03-21 12:48 (60)
- [19] 2020-03-21 12:58 (40)
- [20] 2021-03-08 15:34 (0)
- [21] 2021-03-08 15:35 (90)
Taškai: 0
Compile: FAIL
posekis2.cpp: In function ‘int main()’: posekis2.cpp:14:9: error: two or more data types in declaration of ‘n’ int n,viso=1; ^ posekis2.cpp:14:11: error: two or more data types in declaration of ‘viso’ int n,viso=1; ^ posekis2.cpp:15:10: error: ‘n’ was not declared in this scope fin>>n; ^ posekis2.cpp:18:22: error: ‘sk’ was not declared in this scope FOR(0,n){ fin>>sk[i]; } ^ posekis2.cpp:19:10: error: ‘verte’ was not declared in this scope fill(verte,verte+n,1); ^ posekis2.cpp:22:16: error: ‘sk’ was not declared in this scope if(sk[i]>sk[g]&&verte[i]<verte[g]+1){ ^ posekis2.cpp:24:41: error: ‘viso’ was not declared in this scope if(verte[i]>viso){ ^ posekis2.cpp:33:11: error: ‘viso’ was not declared in this scope fout<<viso; ^
nr. | result | time | message |
---|