Pagini recente » Borderou de evaluare (job #559033) | Borderou de evaluare (job #1259253) | Borderou de evaluare (job #2404523) | Borderou de evaluare (job #2767644) | Borderou de evaluare (job #1984354)
Borderou de evaluare (job #1984354)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int bina(long long int)’:
user.cpp:27:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:36:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:38:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",mid);
^
user.cpp:40:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",mid-1);
^
user.cpp: In function ‘long long int binar(long long int)’:
user.cpp:52:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:57:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:60:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",mid);
^
user.cpp: In function ‘long long int binar2(long long int)’:
user.cpp:71:13: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:76:12: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
mid = low + high >> 1;
^
user.cpp:79:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",mid);
^
user.cpp: In function ‘int32_t main()’:
user.cpp:87:9: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,q,a,x;
^
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | OK | 10 | 10 |
2 | 0ms | 456kb | OK | 10 | 10 |
3 | 0ms | 468kb | OK | 10 | 10 |
4 | 4ms | 472kb | OK | 10 | 10 |
5 | 32ms | 548kb | OK | 10 | 20 |
6 | 112ms | 856kb | OK | 10 |
7 | 32ms | Depăşit | Memory limit exceeded. | 0 | 0 |
8 | 36ms | Depăşit | Memory limit exceeded. | 0 |
9 | 32ms | Depăşit | Memory limit exceeded. | 0 |
10 | 36ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |