Pagini recente » Borderou de evaluare (job #1583227) | Borderou de evaluare (job #1061129) | Borderou de evaluare (job #1777760) | Borderou de evaluare (job #1999235) | Borderou de evaluare (job #1709685)
Borderou de evaluare (job #1709685)
Raport evaluator
Compilare:
user.cpp: In function ‘int CautBin(int)’:
user.cpp:34:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n > s.size()) dr = s.size() - 1;
^
user.cpp: In function ‘long long int alg(long long int)’:
user.cpp:61:8: warning: unused variable ‘x’ [-Wunused-variable]
int x = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:99:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.in", "r", stdin);
^
user.cpp:100:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("consecutive.out", "w", stdout);
^
user.cpp:102:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &test);
^
user.cpp:105:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp: In function ‘int CautBin(int)’:
user.cpp:32:14: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int st, dr, m;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 428kb | Time limit exceeded. | 0 |
Punctaj total | 0 |