Pet shop
https://pastebin.com/ZNBtkczL
здравейте,
Бихте ли ми помогнали със
simple calculations
задача Зоомагазин
Dudge ми дава грешка 40/100
Zero test #1 (Correct answer)
The zero tests are not included in the final result.
Time used: 0.025 s
Memory used: 12.18 MB
Zero test #2 (Correct answer)
The zero tests are not included in the final result.
Time used: 0.009 s
Memory used: 12.14 MB
Test #1 (Correct answer)
Time used: 0.025 s
Memory used: 12.12 MB
Test #2 (Correct answer)
Time used: 0.025 s
Memory used: 12.13 MB
Test #3 (Incorrect answer)
Time used: 0.009 s
Memory used: 12.14 MB
Test #4 (Correct answer)
Time used: 0.093 s
Memory used: 12.14 MB
Test #5 (Correct answer)
Time used: 0.093 s
Memory used: 12.13 MB
Test #6 (Incorrect answer)
Time used: 0.009 s
Memory used: 12.14 MB
Test #7 (Incorrect answer)
Time used: 0.009 s
Memory used: 12.12 MB
Test #8 (Incorrect answer)
Time used: 0.009 s
Memory used: 12.14 MB
Test #9 (Incorrect answer)
Time used: 0.025 s
Memory used: 12.16 MB
Test #10 (Incorrect answer)
Time used: 0.025 s
Благодаря
Не става!
Не става!
ето как ще стане
using System;
namespace PetShop
{
class Program
{
static void Main(string[] args)
{
int doggies = int.Parse(Console.ReadLine());
int other_doggies = int.Parse(Console.ReadLine());
double total = (doggies * 2.5) + (other_doggies * 4);
Console.Write("{0:F2}", total);
Console.Write(" lv.");
}
}
}
Zero test #1 (Correct answer)
The zero tests are not included in the final result.
Time used: 0.093 s
Memory used: 12.13 MB
Zero test #2 (Correct answer)
The zero tests are not included in the final result.
Time used: 0.009 s
Memory used: 12.16 MB
Test #1 (Correct answer)
Time used: 0.009 s
Memory used: 12.16 MB
Test #2 (Correct answer)
Time used: 0.025 s
Memory used: 12.17 MB
Test #3 (Incorrect answer)
Time used: 0.093 s
Memory used: 12.16 MB
Test #4 (Correct answer)
Time used: 0.025 s
Memory used: 12.14 MB
Test #5 (Correct answer)
Time used: 0.040 s
Memory used: 12.17 MB
Test #6 (Incorrect answer)
Time used: 0.025 s
Memory used: 12.16 MB
Test #7 (Incorrect answer)
Time used: 0.025 s
Memory used: 12.13 MB
Test #8 (Incorrect answer)
Time used: 0.040 s
Memory used: 12.13 MB
Test #9 (Incorrect answer)
Time used: 0.093 s
Memory used: 12.18 MB
Test #10 (Incorrect answer)
Time used: 0.009 s
Memory used: 12.15 MB
Source code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Created on: 04/05/2020 12:47:57
Pak ne stava
© 2011-2020 - Open Judge System (OJS) 1.5.20150729.95737d0 - running on Windows. Open source project.
трябва да стане това е ми е решението и е 100/100,скайп имаш ли?