Borderou de evaluare (job #32816)

Utilizator filipbFilip Cristian Buruiana filipb Data 18 martie 2007 16:02:50
Problema Cuburi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:127:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi.in", "r", stdin); ^ user.cpp:128:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cuburi.out", "w", stdout); ^ user.cpp:130:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &K); ^ user.cpp: In function ‘void push_forw_2(int, int, int, int, int, int)’: user.cpp:3:33: warning: ‘other’ may be used uninitialized in this function [-Wmaybe-uninitialized] #define aduna(x, y) ( ((x += y) >= MOD) ? (x -= MOD) : 0 ) ^ user.cpp:93:13: note: ‘other’ was declared here int c, other, xA, xB, k1, k2, k3; ^ user.cpp: In function ‘int main()’: user.cpp:125:9: warning: ‘crt’ may be used uninitialized in this function [-Wmaybe-uninitialized] int i, crt, prev, c, k1, k2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms7312kbOK10
212ms7316kbOK10
332ms7308kbOK10
448ms7312kbOK10
5108ms7312kbOK10
6152ms7312kbOK10
7172ms7316kbOK10
8Depăşit7312kbTime limit exceeded.0
9Depăşit7312kbTime limit exceeded.0
108ms7312kbOK10
Punctaj total80

Ceva nu functioneaza?