Borderou de evaluare (job #2497052)

Utilizator cernat.catallinFMI Cernat Catalin Stefan cernat.catallin Data 21 noiembrie 2019 23:38:22
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(unsigned int, int)': main.cpp:62:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; idx <= n; idx += (idx & (~idx + 1))) ~~~~^~~~ main.cpp: In function 'int main()': main.cpp:113:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] sprintf(buffer, "Int length: %d", sizeof(void*)); ^ main.cpp:108:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in", "r", stdin); ^ main.cpp:110:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out", "w", stdout); ^ main.cpp:120:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:124:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
17ms131kbKilled by Signal 1100
27ms131kbKilled by Signal 1100
36ms131kbKilled by Signal 1100
46ms131kbKilled by Signal 1100
56ms131kbKilled by Signal 1100
66ms131kbKilled by Signal 1100
76ms131kbKilled by Signal 1100
86ms131kbKilled by Signal 1100
97ms131kbKilled by Signal 110
107ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?