Borderou de evaluare (job #1183382)

Utilizator bogdanpaunFMI Paun Bogdan Gabriel bogdanpaun Data 8 mai 2014 22:36:33
Problema Paranteze2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if( s[i] == ')' ) ^ user.cpp:14:18: warning: unused variable ‘temp’ [-Wunused-variable] register int temp,Rez; ^ user.cpp:39:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("paranteze2.out", "w", stdout); ^ user.cpp:37:60: warning: ‘Rez’ may be used uninitialized in this function [-Wmaybe-uninitialized] din[i] = 1 + din[ _next[i] + 1 ], Rez += din[i]; ^ user.cpp:21:51: warning: ‘h’ may be used uninitialized in this function [-Wmaybe-uninitialized] register long long *st = new long long[str+2], h; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms452kbOK!100
20ms456kbOK!10
30ms468kbOK!10
40ms472kbOK!10
50ms488kbOK!10
60ms508kbOK!10
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?