Pagini recente » Autentificare | Borderou de evaluare (job #875988) | Borderou de evaluare (job #2386228) | Borderou de evaluare (job #3150783) | Borderou de evaluare (job #1653833)
Borderou de evaluare (job #1653833)
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 |
| 1 | Depăşit | 3068kb | Time limit exceeded. | 0 | 0 |
| 2 | Depăşit | 3076kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 3080kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 3020kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 3024kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 3072kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 3020kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 3012kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1472kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3068kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |