programme.lv logo
  1. Iesūtījumi
Datums & laiksAutorsUzdevumsValodaRezultātsCPU laiks [s]Atmiņa [MiB]StatussIesūtījums
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
programme.lv logo
  1. Iesūtījumi
  2. /
  3. d4460305-034f-4a17-8d01-fe26267a9870
Autorsricardsjansons
UzdevumsFleksis
ValodaC++17
Iesūtīts3.02.2026. 17:54:43
StatussNovērtēts
Rezultāts0 / 100
Risinājuma kods ir redzams tikai tiem lietotājiem, kuri paši ir atrisinājuši šo uzdevumu.

1. apakšuzdevums: Uzdevuma tekstā dotie trīs testi.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
11.Nepareiza atbilde0.0020.61
21.Atbilde ir pareiza0.0020.80
31.Nepareiza atbilde0.0020.57

2. apakšuzdevums: Robežas: n,m,k≤30n, m, k \le 30n,m,k≤30.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
42.Nepareiza atbilde0.0020.59
52.Nepareiza atbilde0.0020.79
62.Nepareiza atbilde0.0020.89
72.Nepareiza atbilde0.0020.82
83.Nepareiza atbilde0.0020.85
94.Nepareiza atbilde0.0020.82

3. apakšuzdevums: Visi iegriezumi veikti perpendikulāri flīzes malām.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
105.Nepareiza atbilde0.0510.95
115.Nepareiza atbilde0.0380.82
125.Nepareiza atbilde0.1170.93
136.Nepareiza atbilde0.2110.95
147.Nepareiza atbilde0.2121.23
158.Nepareiza atbilde0.2131.23

4. apakšuzdevums: Visi iegriezumi veikti 45∘45^\circ45∘ vai 135∘135^\circ135∘ leņķī.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
169.Nepareiza atbilde0.0600.82
179.Nepareiza atbilde0.0290.90
189.Nepareiza atbilde0.1251.28
1910.Nepareiza atbilde0.2451.07
2011.Nepareiza atbilde0.1131.02
2112.Nepareiza atbilde0.1241.07

5. apakšuzdevums: Nav tāda punkta, kurā veikts vairāk par diviem iegriezumiem.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
2213.Nepareiza atbilde0.0641.04
2313.Nepareiza atbilde0.0510.95
2414.Nepareiza atbilde0.1140.91
2514.Nepareiza atbilde0.1380.85
2615.Nepareiza atbilde0.2471.20
2716.Nepareiza atbilde0.1410.77
2817.Nepareiza atbilde0.2421.00

6. apakšuzdevums: Ierobežojums: k≤50k \le 50k≤50.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
2918.Nepareiza atbilde0.0020.57
3019.Nepareiza atbilde0.0020.63
3120.Nepareiza atbilde0.0021.14

7. apakšuzdevums: Ierobežojums: k≤400k \le 400k≤400.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
3221.Nepareiza atbilde0.0071.07
3322.Nepareiza atbilde0.0091.00
3423.Nepareiza atbilde0.0110.80

8. apakšuzdevums: Bez papildu ierobežojumiem.

Tests #GrupaVērtējumsCPU laiks [s]Atmiņa [MiB]
3524.Nepareiza atbilde0.0620.84
3625.Nepareiza atbilde0.1370.98
3726.Nepareiza atbilde0.2410.95
3827.Nepareiza atbilde0.2441.30

Kompilācijas izvaddati:

solution.cpp: In function 'int main()': solution.cpp:90:44: warning: narrowing conversion of 'm' from 'int' to 'long dou[...] 90 | v.push_back(Segment{Point{0,0},Point{0,m}}); | ^ solution.cpp:91:31: warning: narrowing conversion of 'n' from 'int' to 'long dou[...] 91 | v.push_back(Segment{Point{n,0},Point{n,m}}); | ^ solution.cpp:91:42: warning: narrowing conversion of 'n' from 'int' to 'long dou[...] 91 | v.push_back(Segment{Point{n,0},Point{n,m}}); | ^ solution.cpp:91:44: warning: narrowing conversion of 'm' from 'int' to 'long dou[...] 91 | v.push_back(Segment{Point{n,0},Point{n,m}}); | ^ solution.cpp:92:43: warning: narrowing conversion of '(n - 1)' from 'int' to 'lo[...] 92 | v.push_back(Segment{Point{1,0},Point{n-1,0}}); | ~^~ solution.cpp:93:33: warning: narrowing conversion of 'm' from 'int' to 'long dou[...] 93 | v.push_back(Segment{Point{1,m},Point{n-1,m}}); | ^ solution.cpp:93:43: warning: narrowing conversion of '(n - 1)' from 'int' to 'lo[...] 93 | v.push_back(Segment{Point{1,m},Point{n-1,m}}); | ~^~ solution.cpp:93:46: warning: narrowing conversion of 'm' from 'int' to 'long dou[...] 93 | v.push_back(Segment{Point{1,m},Point{n-1,m}}); | ^ solution.cpp:98:25: warning: narrowing conversion of 'x1' from 'int' to 'long do[...] 98 | Segment s{Point{x1,y1},Point{x2,y2}}; | ^~ solution.cpp:98:28: warning: narrowing conversion of 'y1' from 'int' to 'long do[...] 98 | Segment s{Point{x1,y1},Point{x2,y2}}; | ^~ solution.cpp:98:38: warning: narrowing conversion of 'x2' from 'int' to 'long do[...] 98 | Segment s{Point{x1,y1},Point{x2,y2}}; | ^~ solution.cpp:98:41: warning: narrowing conversion of 'y2' from 'int' to 'long do[...] 98 | Segment s{Point{x1,y1},Point{x2,y2}}; | ^~ Kopēt kodu