Borderou de evaluare (job #1493613)

Utilizator tudormaximTudor Maxim tudormaxim Data 29 septembrie 2015 18:20:57
Problema Trilant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dijkstra(int)’: user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<g[dad].size(); i++) ^ user.cpp: In function ‘void lant(int)’: user.cpp:45:9: warning: unused variable ‘i’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp:45:12: warning: unused variable ‘cost’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp:45:18: warning: unused variable ‘dad’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp:45:23: warning: unused variable ‘son’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp:45:28: warning: unused variable ‘sol’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp:45:39: warning: unused variable ‘lg’ [-Wunused-variable] int i, cost, dad, son, sol[nmax], lg=0; ^ user.cpp: In function ‘int main()’: user.cpp:58:24: warning: unused variable ‘j’ [-Wunused-variable] int x, y, cost, i, j, sol, k, l[nmax]; ^ user.cpp:58:27: warning: unused variable ‘sol’ [-Wunused-variable] int x, y, cost, i, j, sol, k, l[nmax]; ^ user.cpp:58:32: warning: unused variable ‘k’ [-Wunused-variable] int x, y, cost, i, j, sol, k, l[nmax]; ^ user.cpp:58:35: warning: unused variable ‘l’ [-Wunused-variable] int x, y, cost, i, j, sol, k, l[nmax]; ^ user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trilant.in", "r", stdin); ^ user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trilant.out", "w", stdout); ^ user.cpp:59:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:60:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &a, &b, &c); ^ user.cpp:63:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &x, &y, &cost);
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1608kbCost prea mare00
110ms1604kbNu ai afisat drumurile complet0
20ms1608kbCost prea mare00
120ms1604kbNu ai afisat drumurile complet0
34ms1684kbNu ai afisat drumurile complet00
1320ms2060kbNu ai afisat drumurile complet0
44ms1688kbNu ai afisat drumurile complet00
148ms1780kbNu ai afisat drumurile complet0
58ms1756kbNu ai afisat drumurile complet00
1512ms1888kbNu ai afisat drumurile complet0
6656ms9536kbNu ai afisat drumurile complet00
160ms1612kbNu ai afisat drumurile complet0
7540ms8352kbNu ai afisat drumurile complet00
170ms1604kbCost prea mare0
8536ms7640kbNu ai afisat drumurile complet00
18128ms5792kbNu ai afisat drumurile complet0
9664ms9120kbNu ai afisat drumurile complet00
19112ms5532kbNu ai afisat drumurile complet0
10732ms9480kbNu ai afisat drumurile complet00
20116ms5560kbNu ai afisat drumurile complet0
Punctaj total0

Ceva nu functioneaza?