Pagini recente » Borderou de evaluare (job #3150087) | Borderou de evaluare (job #1258524) | Borderou de evaluare (job #2280954) | Borderou de evaluare (job #1881892) | Borderou de evaluare (job #2457175)
Borderou de evaluare (job #2457175)
Raport evaluator
Compilare:
main.cpp: In function 'bool bfs(int, int)':
main.cpp:30:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[u].size(); i++){
~^~~~~~~~~~~~
main.cpp: In function 'void detflow(int)':
main.cpp:44:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<g[n].size(); i++){
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<g[i].size(); j++)
~^~~~~~~~~~~~
main.cpp:78:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::set<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", s.size());
^
main.cpp:61:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("critice.in", "r", stdin);
^
main.cpp:62:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("critice.out", "w", stdout);
^
main.cpp:64:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:66:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Okay! | 10 |
| 2 | 2ms | 262kb | Okay! | 10 |
| 3 | 4ms | 524kb | Okay! | 10 |
| 4 | 4ms | 655kb | Okay! | 10 |
| 5 | 5ms | 1048kb | Okay! | 10 |
| 6 | 16ms | 1179kb | Okay! | 10 |
| 7 | 32ms | 1835kb | Okay! | 10 |
| 8 | 33ms | 2490kb | Okay! | 10 |
| 9 | 44ms | 1966kb | Okay! | 10 |
| 10 | 25ms | 5111kb | Okay! | 10 |
| Punctaj total | 100 |