#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 | #58394444 | Utilizator | |
Fișier | calendar.cpp | Dimensiune | 349 B |
Data încărcării | 01 Iunie 2025, 11:45 | Scor / rezultat | 0 puncte |
calendar.cpp: In function 'int main()': calendar.cpp:11:10: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if (1<=z<=28 && 1<=l<=12) ^ calendar.cpp:11:22: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if (1<=z<=28 && 1<=l<=12) ^ calendar.cpp:17:10: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if (1<=z<=29 && 1<=l<=12) ^ calendar.cpp:17:22: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses] if (1<=z<=29 && 1<=l<=12) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | Depășit | Limita de timp depășită | 10 | 0 | Exemplu | |
2 | Depășit | Limita de timp depășită | 10 | 0 | ||
3 | Depășit | Limita de timp depășită | 10 | 0 | ||
4 | Depășit | Limita de timp depășită | 10 | 0 | ||
5 | Depășit | Limita de timp depășită | 10 | 0 | ||
6 | Depășit | Limita de timp depășită | 10 | 0 | ||
7 | Depășit | Limita de timp depășită | 10 | 0 | ||
8 | Depășit | Limita de timp depășită | 10 | 0 | ||
9 | Depășit | Limita de timp depășită | 10 | 0 | ||
10 | Depășit | Limita de timp depășită | 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ă.