Pagini recente » Borderou de evaluare (job #2461780) | Borderou de evaluare (job #1627181) | Borderou de evaluare (job #387250) | Borderou de evaluare (job #2088487) | Borderou de evaluare (job #2204306)
Borderou de evaluare (job #2204306)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int search(long long int, long long int, long long int)’:
user.cpp:17:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(rez2!=c || rez>y || rez>=x && rez<=y) right=mid-1;
~~~~~~~^~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:27:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.in","r",stdin);
^
user.cpp:28:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taste.out","w",stdout);
^
user.cpp:31:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld",&x,&y); A=x; B=y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1320kb | Corect | 10 |
2 | 0ms | 1316kb | Corect | 10 |
3 | 0ms | 1312kb | Corect | 10 |
4 | 0ms | 1312kb | Corect | 10 |
5 | 0ms | 1316kb | Corect | 10 |
6 | 0ms | 1316kb | Corect | 10 |
7 | 0ms | 1320kb | Corect | 10 |
8 | 0ms | 1312kb | Corect | 10 |
9 | 0ms | 1312kb | Corect | 10 |
10 | 0ms | 1316kb | Corect | 10 |
Punctaj total | 100 |