Pagini recente » Borderou de evaluare (job #1090708) | Borderou de evaluare (job #2834492) | Borderou de evaluare (job #555822) | Borderou de evaluare (job #1556780) | Borderou de evaluare (job #1481504)
Borderou de evaluare (job #1481504)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < v[x].size(); i++) {
^
user.cpp: In function ‘void graf(int)’:
user.cpp:37:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[x].size();j++)
^
user.cpp:33:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,y,aux;
^
user.cpp:33:15: warning: variable ‘aux’ set but not used [-Wunused-but-set-variable]
int i,j,y,aux;
^
user.cpp: In function ‘int main()’:
user.cpp:65:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("easygraph.in","r",stdin);
^
user.cpp:66:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("easygraph.out","w",stdout);
^
user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:71:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:75:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.cpp:82:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 332ms | 2108kb | Incorect | 0 |
Punctaj total | 0 |