Borderou de evaluare (job #2268126)

Utilizator memecoinMeme Coin memecoin Data 24 octombrie 2018 15:06:54
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:36:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=] scanf("%d", &a[i][j]); ^ main.cpp:50:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = startIndex[gCost]; i < buckets[gCost].size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:74:12: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (ni == di & nj == dj) { ~~~^~~~~ main.cpp:29:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("padure.in", "r", stdin); ^ main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("padure.out", "w", stdout); ^ main.cpp:32:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d %d", &n, &m, &si, &sj, &di, &dj); ^ main.cpp:36:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms262kbKilled by Signal 110
22ms262kbOK10
33ms262kbKilled by Signal 110
45ms262kbKilled by Signal 110
54ms262kbKilled by Signal 110
621ms917kbKilled by Signal 110
750ms655kbKilled by Signal 110
8135ms1048kbKilled by Signal 110
9235ms1310kbKilled by Signal 110
10220ms1310kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?