Pagini recente » Borderou de evaluare (job #2045424) | Borderou de evaluare (job #1639664) | Borderou de evaluare (job #1192988) | Borderou de evaluare (job #977175) | Borderou de evaluare (job #1479443)
Borderou de evaluare (job #1479443)
Raport evaluator
Compilare:
user.cpp: In function ‘int search_(int)’:
user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + step < aI.size() && aI[i+step].S < v)
^
user.cpp: In function ‘int main()’:
user.cpp:76:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (STEP = 1; STEP < aI.size(); STEP <<= 1);
^
user.cpp:83:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos == aI.size() || aI[pos].F > x)
^
user.cpp:46:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.in","r",stdin);
^
user.cpp:47:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ttg.out","w",stdout);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
user.cpp:53:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int l; scanf("%d", &l);
^
user.cpp:58:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:80:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 136ms | 2012kb | OK | 10 |
2 | 128ms | 2008kb | OK | 10 |
3 | 68ms | 1996kb | OK | 10 |
4 | 72ms | 2000kb | OK | 10 |
5 | 108ms | 2016kb | OK | 10 |
6 | 100ms | 2008kb | OK | 10 |
7 | 48ms | 2008kb | OK | 10 |
8 | 52ms | 2012kb | OK | 10 |
9 | 120ms | 2012kb | OK | 10 |
10 | 120ms | 2012kb | OK | 10 |
Punctaj total | 100 |