Pagini recente » Borderou de evaluare (job #2508324) | Borderou de evaluare (job #940253) | Borderou de evaluare (job #895701) | Borderou de evaluare (job #2269706) | Borderou de evaluare (job #1333464)
Borderou de evaluare (job #1333464)
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 < g[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:32: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:33: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:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:38: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:41:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
user.cpp:47: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 | 324ms | 1828kb | OK | 100 |
Punctaj total | 100 |