Pagini recente » Borderou de evaluare (job #1774834) | Borderou de evaluare (job #1621513) | Borderou de evaluare (job #2861980) | Borderou de evaluare (job #156565) | Borderou de evaluare (job #1220736)
Borderou de evaluare (job #1220736)
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:27: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:28: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:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:33: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:34: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:37: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 | 300ms | 3080kb | Incorect | 0 |
Punctaj total | 0 |