Pagini recente » Cod sursa (job #1677086) | Borderou de evaluare (job #124302) | Borderou de evaluare (job #2386781) | Borderou de evaluare (job #1936420) | Borderou de evaluare (job #1481508)
Borderou de evaluare (job #1481508)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:23: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:39:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<v[x].size();j++)
^
user.cpp:34:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j,y,aux;
^
user.cpp:34: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:67: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:68: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:69:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:73: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:77:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.cpp:84: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 | 316ms | 2112kb | Incorect | 0 |
Punctaj total | 0 |