Borderou de evaluare (job #1653833)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 16 martie 2016 16:57:49
Problema Subpermutari Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int query(int)’: user.cpp:13:12: warning: statement has no effect [-Wunused-value] for(pos;pos>0;pos=pos-((pos&(pos-1))^pos)) ^ user.cpp: In function ‘void update(int)’: user.cpp:19:12: warning: statement has no effect [-Wunused-value] for(pos;pos<=n;pos=pos+((pos&(pos-1))^pos)) ^ user.cpp: In function ‘void add_hash(int, int)’: user.cpp:24:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<table[hash1].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:59:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<table[i].size();j++) ^ user.cpp:40:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subpermutari.in","r",stdin); ^ user.cpp:41:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("subpermutari.out","w",stdout); ^ user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:46:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit3068kbTime limit exceeded.00
2Depăşit3076kbTime limit exceeded.0
3Depăşit3080kbTime limit exceeded.0
4Depăşit3020kbTime limit exceeded.0
5Depăşit3024kbTime limit exceeded.0
6Depăşit3072kbTime limit exceeded.0
7Depăşit3020kbTime limit exceeded.0
8Depăşit3012kbTime limit exceeded.0
9Depăşit1472kbTime limit exceeded.0
10Depăşit3068kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?