Borderou de evaluare (job #1287315)

Utilizator rzvrzvNicolescu Razvan rzvrzv Data 7 decembrie 2014 13:54:48
Problema Spectacole Status done
Runda Algoritmiada 2015 - Runda 1, Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void apdeit(int, int)’: user.cpp:6:16: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] #define ub(x) x&(x-1) ^ user.cpp:22:28: note: in expansion of macro ‘ub’ for(i=poz;i<=npos;i+=i-ub(i)) ^ user.cpp: In function ‘int main()’: user.cpp:77:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j+1<v[i].size();j++) ^ user.cpp:82:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<sp.size();j++) ^ user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spectacole.in","r",stdin); ^ user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("spectacole.out","w",stdout); ^ user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^ user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&b[i]); ^ user.cpp:57:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&s[i],&x[i],&y[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit320kbTime limit exceeded.0
2Depăşit340kbTime limit exceeded.0
3Depăşit332kbTime limit exceeded.0
4Depăşit436kbTime limit exceeded.0
5Depăşit468kbTime limit exceeded.0
612ms872kbKilled by signal 11(SIGSEGV).0
720ms1032kbKilled by signal 11(SIGSEGV).0
828ms1200kbKilled by signal 11(SIGSEGV).0
924ms1200kbKilled by signal 11(SIGSEGV).0
1024ms1200kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?