Problema | momente | Operații I/O |
momente.in /momente.out
|
---|---|---|---|
Limita timp | 0.4 secunde | Limita memorie |
Total: 16 MB
/
Stivă 8 MB
|
Id soluție | #23631031 | Utilizator | |
Fișier | momente.cpp | Dimensiune | 1.40 KB |
Data încărcării | 07 August 2020, 18:54 | Scor / rezultat | 47 puncte |
momente.cpp: In function 'int pars(tm&)': momente.cpp:18:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tim.tm_mon);--tim.tm_mon; ^ momente.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&tim.tm_mday);--tim.tm_mday; ^ momente.cpp:21:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ momente.cpp:23:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ momente.cpp:25:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a); ^ momente.cpp: In function 'int main()': momente.cpp:31:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("momente.in","r",stdin); ^ momente.cpp:32:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("momente.out","w",stdout); ^ momente.cpp:47:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&k); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
0 | 0 secunde | OK. | 6 | 6 | ||
1 | 0 secunde | OK. | 6 | 6 | ||
2 | 0 secunde | OK. | 7 | 7 | ||
3 | 0 secunde | OK. | 7 | 7 | ||
4 | 0 secunde | OK. | 7 | 7 | ||
5 | 0 secunde | OK. | 7 | 7 | ||
6 | 0 secunde | OK. | 7 | 7 | ||
7 | 0.004 secunde | Raspuns gresit. | 7 | 0 | ||
8 | 0.008 secunde | Raspuns gresit. | 7 | 0 | ||
9 | 0.02 secunde | Raspuns gresit. | 7 | 0 | ||
10 | 0.004 secunde | Raspuns gresit. | 8 | 0 | ||
11 | 0.04 secunde | Raspuns gresit. | 8 | 0 | ||
12 | 0.2 secunde | Raspuns gresit. | 8 | 0 | ||
13 | Depășit | Limita de timp depășită | 8 | 0 | ||
Punctaj total | 47 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema momente 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ă.