Borderou de evaluare (job #2691587)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 29 decembrie 2020 12:45:45
Problema Hotel Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void push_lazy(int, int, int)': main.cpp:38:27: warning: operation on 'aint[((poz >> 1) | 1)].nod::lazy' may be undefined [-Wsequence-point] aint[poz >> 1 | 1].lazy = aint[poz >> 1 | 1].lazy = true; ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:70:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hotel.in", "r", stdin); ^ main.cpp:71:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("hotel.out", "w", stdout); ^ main.cpp:73:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &p); ^ main.cpp:80:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &tip); ^ main.cpp:84:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &prima, &nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1362ms262kbIncorect0
23ms131kbIncorect0
38ms131kbIncorect0
498ms131kbIncorect0
5172ms262kbIncorect0
687ms393kbOK10
7375ms262kbIncorect0
8345ms262kbIncorect0
9227ms393kbIncorect0
10206ms393kbIncorect0
Punctaj total10

Ceva nu functioneaza?