Borderou de evaluare (job #2317325)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 13 ianuarie 2019 10:18:32
Problema GrEA Status done
Runda Fmi No Stress 8 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[250003]' [-Wformat=] scanf ("%s", &s[i]); ^ main.cpp:18:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("grea.in", "r", stdin); ^ main.cpp:19:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("grea.out", "w", stdout); ^ main.cpp:21:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &k); ^ main.cpp:24:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%s", &s[i]); ^ main.cpp:31:13: warning: array subscript is above array bounds [-Warray-bounds] dist[i][j] = INF; ~~~~~~^ main.cpp:65:25: warning: array subscript is above array bounds [-Warray-bounds] printf ("%d\n", dist[2][n]); ~~~~~~^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓13ms393kbKilled by Signal 110
✓24ms786kbKilled by Signal 110
✓35ms1179kbKilled by Signal 110
✓46ms1310kbKilled by Signal 110
✓55ms1441kbKilled by Signal 110
✓66ms1572kbKilled by Signal 110
✓76ms1310kbKilled by Signal 110
✓817ms3670kbKilled by Signal 110
✓910ms3670kbKilled by Signal 110
✓1013ms3670kbKilled by Signal 110
✓1112ms3670kbKilled by Signal 110
✓1213ms3670kbKilled by Signal 110
✓1311ms3276kbKilled by Signal 110
✓1410ms3670kbKilled by Signal 110
✓1513ms3670kbKilled by Signal 110
✓1613ms3670kbKilled by Signal 110
✓1713ms3670kbKilled by Signal 110
✓1810ms3670kbKilled by Signal 110
✓1913ms3670kbKilled by Signal 110
✓2013ms3670kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?