Pagini recente » Borderou de evaluare (job #2367296) | Borderou de evaluare (job #2147238) | Borderou de evaluare (job #3134076) | Borderou de evaluare (job #721778) | Borderou de evaluare (job #1922052)
Borderou de evaluare (job #1922052)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:19:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < g[act].size() ; ++i)
^
user.cpp:37:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0 ; i < g[act].size() ; ++i)
^
user.cpp:43:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0 ; k < in[bus[nxt]].size() ; ++k)
^
user.cpp: In function ‘int main()’:
user.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze3.in" , "r" , stdin);
^
user.cpp:62:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze3.out" , "w" , stdout);
^
user.cpp:64:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d" , &tests) ; tests ; --tests)
^
user.cpp:66:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
user.cpp:67:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &m);
^
user.cpp:73:86: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d" , &edge[i].second.first , &edge[i].second.second , &edge[i].first);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1220ms | 22004kb | Respect maxim! | 100 |
Punctaj total | 100 |