Pagini recente » Borderou de evaluare (job #895690) | Borderou de evaluare (job #1777521) | Borderou de evaluare (job #2281178) | Borderou de evaluare (job #1642091) | Borderou de evaluare (job #1433374)
Borderou de evaluare (job #1433374)
Raport evaluator
Compilare:
user.cpp: In function ‘int find_cicle(std::vector<edge>, int, int, std::vector<bool>, std::vector<int>&)’:
user.cpp:17:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<edges.size(); ++i)
^
user.cpp:18:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(edges[i].x == x && visited[edges[i].y] == 0)
^
user.cpp: In function ‘int main()’:
user.cpp:93:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<cicle.size(); ++j)
^
user.cpp:38:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcycle.in", "r", stdin);
^
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gcycle.out", "w", stdout);
^
user.cpp:45:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:52:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &edges[i].x, &edges[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK! | 10 |
2 | 0ms | 404kb | OK! | 10 |
3 | 0ms | 304kb | Incorect! | 0 |
4 | 12ms | 1216kb | Incorect! | 0 |
5 | 4ms | 880kb | Incorect! | 0 |
6 | 556ms | Depăşit | Memory limit exceeded. | 0 |
7 | 72ms | 3432kb | Incorect! | 0 |
8 | 160ms | 7656kb | Incorect! | 0 |
9 | 624ms | 16368kb | Incorect! | 0 |
10 | 496ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 20 |