Borderou de evaluare (job #1599807)

Utilizator atatomirTatomir Alex atatomir Data 14 februarie 2016 13:50:48
Problema Arb3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
14ms2808kbIncorect0
24ms2848kbIncorect0
332ms3788kbIncorect0
464ms4812kbIncorect0
5188ms8344kbIncorect0
6236ms9868kbIncorect0
7252ms10244kbIncorect0
8284ms10836kbIncorect0
9308ms11504kbIncorect0
10312ms11372kbIncorect0
Punctaj total0

Ceva nu functioneaza?