Pagini recente » Borderou de evaluare (job #1381337) | Borderou de evaluare (job #2468153) | Borderou de evaluare (job #597678) | Borderou de evaluare (job #1383474) | Borderou de evaluare (job #1599815)
Borderou de evaluare (job #1599815)
Raport evaluator
Compilare:
user.cpp: In function ‘int binary(int, long long int)’:
user.cpp:34:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ans + step < list[node].size())
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:48:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < list[node].size(); i++)
^
user.cpp:51:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < list[node].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:71:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.in","r",stdin);
^
user.cpp:72:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.out","w",stdout);
^
user.cpp:74:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:76:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:80:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%lld", &v[i]);
^
user.cpp:84:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2808kb | OK | 10 |
2 | 4ms | 2840kb | OK | 10 |
3 | 28ms | 3780kb | OK | 10 |
4 | 60ms | 4812kb | OK | 10 |
5 | 168ms | 8604kb | OK | 10 |
6 | 216ms | 9864kb | OK | 10 |
7 | 224ms | 10356kb | OK | 10 |
8 | 252ms | 10948kb | OK | 10 |
9 | 280ms | 11768kb | OK | 10 |
10 | 284ms | 11636kb | OK | 10 |
Punctaj total | 100 |