Borderou de evaluare (job #1474298)

Utilizator tudi98Cozma Tudor tudi98 Data 21 august 2015 18:48:13
Problema Obiective Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:176:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("obiective.in", "r", stdin); ^ user.cpp:177:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("obiective.out", "w", stdout); ^ user.cpp:179:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:183:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ user.cpp:194:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:198:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ user.cpp: In function ‘int lca(int, int)’: user.cpp:137:22: warning: ‘logy’ is used uninitialized in this function [-Wuninitialized] for (logx = 1; 1 << logy < lvl[y]; ++logy); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms2280kbKilled by signal 11(SIGSEGV).00
20ms2308kbKilled by signal 11(SIGSEGV).0
38ms2460kbIncorect00
44ms2468kbKilled by signal 11(SIGSEGV).0
50ms2292kbKilled by signal 11(SIGSEGV).0
64ms2296kbKilled by signal 11(SIGSEGV).0
732ms3620kbKilled by signal 11(SIGSEGV).00
828ms3644kbKilled by signal 11(SIGSEGV).0
932ms4088kbKilled by signal 11(SIGSEGV).0
1052ms7780kbKilled by signal 11(SIGSEGV).00
1132ms5932kbKilled by signal 11(SIGSEGV).0
1232ms5928kbKilled by signal 11(SIGSEGV).0
1348ms7616kbKilled by signal 11(SIGSEGV).0
1440ms9252kbKilled by signal 11(SIGSEGV).0
1540ms9256kbKilled by signal 11(SIGSEGV).0
160ms2228kbOK55
1720ms3412kbKilled by signal 11(SIGSEGV).00
180ms2236kbKilled by signal 11(SIGSEGV).0
190ms2260kbKilled by signal 11(SIGSEGV).0
2028ms3344kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?