#454
Se citesc 3
numere naturale z l a
. Să se decidă dacă reprezintă o dată calendaristică corectă, în format zi luna an
.
Problema | Calendar | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #58394347 | Utilizator | |
Fișier | calendar.cpp | Dimensiune | 251 B |
Data încărcării | 01 Iunie 2025, 11:31 | Scor / rezultat | 0 puncte |
calendar.cpp: In function 'int main()': calendar.cpp:11:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 1<=z<=28; ^ calendar.cpp:11:13: warning: statement has no effect [-Wunused-value] 1<=z<=28; ^ calendar.cpp:12:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 1<=l<=12; ^ calendar.cpp:12:13: warning: statement has no effect [-Wunused-value] 1<=l<=12; ^ calendar.cpp:15:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 1<=z<=29; ^ calendar.cpp:15:13: warning: statement has no effect [-Wunused-value] 1<=z<=29; ^ calendar.cpp:16:6: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] 1<=l<=12; ^ calendar.cpp:16:13: warning: statement has no effect [-Wunused-value] 1<=l<=12; ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 10 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
6 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
7 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Calendar face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.