Pagini recente » Cod sursa (job #807246) | Borderou de evaluare (job #1025997) | Borderou de evaluare (job #1017030) | Borderou de evaluare (job #2306079) | Borderou de evaluare (job #1464109)
Borderou de evaluare (job #1464109)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(int, int)’:
user.cpp:10:9: warning: statement has no effect [-Wunused-value]
for(pos; pos<=N;pos+=zeros(pos) ){
^
user.cpp: In function ‘int query(int, int)’:
user.cpp:17:7: warning: statement has no effect [-Wunused-value]
for(b; b > 0;b -= zeros(b)){
^
user.cpp:21:7: warning: statement has no effect [-Wunused-value]
for(a; a > 0;a -= zeros(a)){
^
user.cpp:22:14: warning: ‘sum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sum-=AIB[a];
^
user.cpp: In function ‘int find(int)’:
user.cpp:36:9: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return mid;
^
user.cpp:34:30: warning: ‘sum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(val == a) f = l+1; else if (val > a)l = mid; else f = mid+1;
^
user.cpp: In function ‘int main()’:
user.cpp:22:14: warning: ‘sum’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sum-=AIB[a];
^
user.cpp:16:6: note: ‘sum’ was declared here
int sum;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 380kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 480kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 524kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 644kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 724kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 776kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 772kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 768kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |