Pagini recente » Borderou de evaluare (job #1324730) | Borderou de evaluare (job #841646) | Borderou de evaluare (job #1592597) | Borderou de evaluare (job #491370) | Borderou de evaluare (job #1489041)
Borderou de evaluare (job #1489041)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, std::vector<int>*)’:
user.cpp:12:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[dad].size(); i++)
^
user.cpp: In function ‘void solve_test()’:
user.cpp:40:9: warning: overflow in implicit constant conversion [-Woverflow]
maxx=-5000000000;
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:31:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &smax[i]);
^
user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:47:40: 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:48:42: 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:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 348ms | 1652kb | Incorect | 0 |
Punctaj total | 0 |