Borderou de evaluare (job #2268142)

Utilizator memecoinMeme Coin memecoin Data 24 octombrie 2018 15:21:00
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:35:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=] scanf("%d", &a[i][j]); ^ main.cpp:57:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < buckets[gCost].size(); ++i) { ~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:28: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:29: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:31: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:35: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
15ms655kbKilled by Signal 110
22ms262kbOK10
312ms1695kbKilled by Signal 110
46ms655kbIncorect0
516ms1826kbKilled by Signal 110
672ms9809kbKilled by Signal 110
7164ms21127kbKilled by Signal 110
8237ms12304kbKilled by Signal 110
9345ms13627kbKilled by Signal 110
10256ms5894kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?