Pagini recente » Borderou de evaluare (job #155042) | Borderou de evaluare (job #366877) | Borderou de evaluare (job #1475896) | Borderou de evaluare (job #454238) | Borderou de evaluare (job #1855697)
Borderou de evaluare (job #1855697)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:155:33: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for (; poz<=n; poz=poz+(poz &(poz-1)^poz))
^
user.cpp: In function ‘int querry(int)’:
user.cpp:162:29: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
for(; poz; poz=poz-(poz &(poz-1)^poz))
^
user.cpp: In function ‘int main()’:
user.cpp:169:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.in","r",stdin);
^
user.cpp:170:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perm3.out","w",stdout);
^
user.cpp:172:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:174:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:177:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp: In function ‘int bs(int)’:
user.cpp:138:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 16292kb | OK! | 10 |
2 | 16ms | 16184kb | OK! | 10 |
3 | Depăşit | 16200kb | Time limit exceeded. | 0 |
4 | Depăşit | 16204kb | Time limit exceeded. | 0 |
5 | Depăşit | 16208kb | Time limit exceeded. | 0 |
6 | Depăşit | 16260kb | Time limit exceeded. | 0 |
7 | Depăşit | 16200kb | Time limit exceeded. | 0 |
8 | Depăşit | 16200kb | Time limit exceeded. | 0 |
9 | Depăşit | 16296kb | Time limit exceeded. | 0 |
10 | Depăşit | 16200kb | Time limit exceeded. | 0 |
Punctaj total | 20 |