Pagini recente » Borderou de evaluare (job #2429751) | Borderou de evaluare (job #2059627) | Borderou de evaluare (job #2335179) | Borderou de evaluare (job #2218328) | Borderou de evaluare (job #1271413)
Borderou de evaluare (job #1271413)
Raport evaluator
Compilare:
user.cpp: In function ‘void gen(long long int)’:
user.cpp:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p<=lim)
^
user.cpp: In function ‘long long int cauta_bin(int, int)’:
user.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(s[mij]>aux) dr=mij-1;
^
user.cpp:28:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (s[mij]>aux) --mij;
^
user.cpp: In function ‘int main()’:
user.cpp:35:34: 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:36:36: 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:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&x,&y);
^
user.cpp: In function ‘long long int cauta_bin(int, int)’:
user.cpp:17:15: warning: ‘mij’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st,dr,mij;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 264kb | Corect | 10 |
✓ | 2 | 0ms | 256kb | Incorect | 0 |
✓ | 3 | 0ms | 256kb | Incorect | 0 |
✓ | 4 | 0ms | 260kb | Incorect | 0 |
✓ | 5 | 0ms | 256kb | Incorect | 0 |
✓ | 6 | 0ms | 256kb | Incorect | 0 |
✓ | 7 | 0ms | 264kb | Corect | 10 |
✓ | 8 | 0ms | 260kb | Incorect | 0 |
✓ | 9 | 0ms | 256kb | Incorect | 0 |
✓ | 10 | 0ms | 260kb | Incorect | 0 |
Punctaj total | 20 |