Pagini recente » Borderou de evaluare (job #2230216) | Borderou de evaluare (job #799701) | Borderou de evaluare (job #2671344) | Borderou de evaluare (job #570048) | Borderou de evaluare (job #1513192)
Borderou de evaluare (job #1513192)
Raport evaluator
Compilare:
user.cpp: In function ‘int lg(int)’:
user.cpp:13:25: warning: suggest parentheses around arithmetic in operand of ‘^’ [-Wparentheses]
return (x xor (x-1) & x);
^
user.cpp: In function ‘int search_aib(int, int)’:
user.cpp:48:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(st==dr)
^
user.cpp: In function ‘void read()’:
user.cpp:26:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&x);
^
user.cpp: In function ‘void solve()’:
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&tip);
^
user.cpp:67:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
user.cpp:73:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&a,&b);
^
user.cpp:79:28: 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 main()’:
user.cpp:86:32: 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:87:34: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | 8ms | 468kb | OK | 10 |
4 | 32ms | 544kb | OK | 10 |
5 | 76ms | 584kb | OK | 10 |
6 | 112ms | 704kb | OK | 10 |
7 | 120ms | 776kb | OK | 10 |
8 | 176ms | 832kb | OK | 10 |
9 | 172ms | 836kb | OK | 10 |
10 | 172ms | 832kb | OK | 10 |
Punctaj total | 100 |