Pagini recente » Borderou de evaluare (job #437184) | Borderou de evaluare (job #635105) | Borderou de evaluare (job #2420532) | Borderou de evaluare (job #1045340) | Borderou de evaluare (job #1480912)
Borderou de evaluare (job #1480912)
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:39: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;
^
user.cpp: In function ‘int main()’:
user.cpp:66: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:67: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:68: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:83: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 | 336ms | 2108kb | Incorect | 0 |
Punctaj total | 0 |