Borderou de evaluare (job #1474152)

Utilizator tudi98Cozma Tudor tudi98 Data 21 august 2015 05:54:16
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:37: 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:39: 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:23: 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:24: 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:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^ user.cpp:198:24: 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
10ms2276kbKilled by signal 11(SIGSEGV).00
20ms2308kbKilled by signal 11(SIGSEGV).0
38ms2460kbIncorect00
44ms2468kbKilled by signal 11(SIGSEGV).0
50ms2296kbKilled by signal 11(SIGSEGV).0
64ms2296kbKilled by signal 11(SIGSEGV).0
732ms3612kbKilled by signal 11(SIGSEGV).00
828ms3644kbKilled by signal 11(SIGSEGV).0
932ms4092kbKilled by signal 11(SIGSEGV).0
1044ms7780kbKilled by signal 11(SIGSEGV).00
1128ms5928kbKilled by signal 11(SIGSEGV).0
1228ms5924kbKilled by signal 11(SIGSEGV).0
1344ms7608kbKilled by signal 11(SIGSEGV).0
1436ms9248kbKilled by signal 11(SIGSEGV).0
1536ms9252kbKilled by signal 11(SIGSEGV).0
160ms2220kbOK55
1720ms3408kbKilled by signal 11(SIGSEGV).00
180ms2236kbKilled by signal 11(SIGSEGV).0
190ms2264kbKilled by signal 11(SIGSEGV).0
2028ms3336kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?