Pagini recente » Borderou de evaluare (job #1371300) | Borderou de evaluare (job #1473708) | Borderou de evaluare (job #1219345) | Borderou de evaluare (job #1018552) | Borderou de evaluare (job #1221050)
Borderou de evaluare (job #1221050)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:18:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:48:38: 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:49:40: 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:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:54:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:55:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; ++i) scanf("%d", &v[i]);
^
user.cpp:58:35: 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 | 292ms | 1572kb | Incorect | 0 |
Punctaj total | 0 |