Pagini recente » Borderou de evaluare (job #2762426) | Borderou de evaluare (job #1302006) | Borderou de evaluare (job #2906204) | Borderou de evaluare (job #1847876) | Borderou de evaluare (job #1821036)
Borderou de evaluare (job #1821036)
Raport evaluator
Compilare:
user.cpp: In function ‘int src(coord)’:
user.cpp:49:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (step = 1; step < vec.size(); step <<= 1);
^
user.cpp:50:14: warning: statement has no effect [-Wunused-value]
for (step; step; step >>= 1)
^
user.cpp:51:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (val + step < vec.size() && vec[val+step] <= v)
^
user.cpp: In function ‘void read()’:
user.cpp:34:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:36:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int main()’:
user.cpp:84:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.in", "r", stdin);
^
user.cpp:85:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("banana.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 660kb | OK | 10 |
2 | 0ms | 684kb | OK | 10 |
3 | 4ms | 740kb | OK | 10 |
4 | 12ms | 1312kb | OK | 10 |
5 | 16ms | 828kb | OK | 10 |
6 | 20ms | 1048kb | OK | 10 |
7 | 24ms | 828kb | OK | 10 |
8 | 20ms | 1572kb | OK | 10 |
9 | 20ms | 1068kb | OK | 10 |
10 | 24ms | 832kb | OK | 10 |
Punctaj total | 100 |