Pagini recente » Borderou de evaluare (job #1556246) | Borderou de evaluare (job #2408179) | Borderou de evaluare (job #1388753) | Borderou de evaluare (job #640431) | Borderou de evaluare (job #1521654)
Borderou de evaluare (job #1521654)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, std::vector<int>*, std::vector<int>*, int)’:
user.cpp:11:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[dad].size(); i++)
^
user.cpp: In function ‘int sc_max(std::vector<int>)’:
user.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<v.size(); i++)
^
user.cpp: In function ‘void solve_test()’:
user.cpp:35: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:38:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &smx[i]);
^
user.cpp:50: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:66: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:67: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:69: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 | 396ms | 1940kb | Incorect | 0 |
Punctaj total | 0 |