Borderou de evaluare (job #1473335)

Utilizator theprdvtheprdv theprdv Data 19 august 2015 05:10:42
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int read_int()’: user.cpp:16:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if (pos >= DIM) fread(buf, 1, DIM, stdin), pos = 0; ^ user.cpp:22:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] if (pos == DIM) fread(buf, 1, DIM, stdin), pos = 0; ^ user.cpp: In function ‘int main()’: user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.in", "r", stdin); ^ user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.out", "w", stdout); ^ user.cpp: In function ‘void update()’: user.cpp:31:93: warning: iteration 390u invokes undefined behavior [-Waggressive-loop-optimizations] for (int i = first(pos), j = 0; j < DIM; ++i, ++j) MaxBuc[i] = MAX(val[i], MaxBuc[pos_buc]); ^ user.cpp:31:2: note: containing loop for (int i = first(pos), j = 0; j < DIM; ++i, ++j) MaxBuc[i] = MAX(val[i], MaxBuc[pos_buc]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms276kbIncorect00
280ms468kbIncorect00
30ms244kbKilled by signal 11(SIGSEGV).00
40ms256kbKilled by signal 11(SIGSEGV).00
50ms480kbKilled by signal 11(SIGSEGV).00
60ms588kbKilled by signal 11(SIGSEGV).00
7Depăşit620kbTime limit exceeded.0
80ms576kbKilled by signal 11(SIGSEGV).0
90ms576kbKilled by signal 11(SIGSEGV).0
104ms616kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?