Pagini recente » Borderou de evaluare (job #1014317) | Borderou de evaluare (job #1810289) | Borderou de evaluare (job #654241) | Borderou de evaluare (job #3180136) | Borderou de evaluare (job #1249553)
Borderou de evaluare (job #1249553)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int)’:
user.cpp:3:18: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define lp2(x) (x&(x-1)^x)
^
user.cpp:12:26: note: in expansion of macro ‘lp2’
for( ; p <= n ; p += lp2(p))
^
user.cpp: In function ‘int query(int)’:
user.cpp:3:18: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
#define lp2(x) (x&(x-1)^x)
^
user.cpp:20:21: note: in expansion of macro ‘lp2’
for( ; p ; p -= lp2(p))
^
user.cpp: In function ‘int main()’:
user.cpp:78:32: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
scanf("%d%d",&a);
^
user.cpp: In function ‘int bs(int, int, int)’:
user.cpp:39:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in" , "r" , stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:47: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:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tmp);
^
user.cpp:60:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:66:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:72:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp:78:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
2 | Depăşit | 224kb | Time limit exceeded. | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | Depăşit | 324kb | Time limit exceeded. | 0 |
5 | 8ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
6 | Depăşit | 504kb | Time limit exceeded. | 0 |
7 | 20ms | 584kb | Killed by signal 11(SIGSEGV). | 0 |
8 | Depăşit | 636kb | Time limit exceeded. | 0 |
9 | 20ms | 644kb | Incorect | 0 |
10 | Depăşit | 608kb | Time limit exceeded. | 0 |
Punctaj total | 0 |