Pagini recente » Borderou de evaluare (job #3003503) | Borderou de evaluare (job #1692061) | Borderou de evaluare (job #2771517) | Borderou de evaluare (job #1270454) | Borderou de evaluare (job #1599807)
Borderou de evaluare (job #1599807)
Raport evaluator
Compilare:
user.cpp: In function ‘int binary(int, long long int)’:
user.cpp:35: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:49:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < list[node].size(); i++)
^
user.cpp:52: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:100:32: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld\n", ans[i]);
^
user.cpp:72: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:73: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:75: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:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:81: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:85: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 | Incorect | 0 |
| 2 | 4ms | 2848kb | Incorect | 0 |
| 3 | 32ms | 3788kb | Incorect | 0 |
| 4 | 64ms | 4812kb | Incorect | 0 |
| 5 | 188ms | 8344kb | Incorect | 0 |
| 6 | 236ms | 9868kb | Incorect | 0 |
| 7 | 252ms | 10244kb | Incorect | 0 |
| 8 | 284ms | 10836kb | Incorect | 0 |
| 9 | 308ms | 11504kb | Incorect | 0 |
| 10 | 312ms | 11372kb | Incorect | 0 |
| Punctaj total | 0 |