Pagini recente » Borderou de evaluare (job #957556) | Borderou de evaluare (job #1091947) | Borderou de evaluare (job #2624868) | Borderou de evaluare (job #1730464) | Borderou de evaluare (job #2644185)
Borderou de evaluare (job #2644185)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, int)':
main.cpp:13:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[currentNode].size(); ++i) {
~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:46:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<finalOrder.size(); ++i)
~^~~~~~~~~~~~~~~~~~
main.cpp:25:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.in", "r", stdin);
^
main.cpp:26:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sortaret.out" , "w", stdout);
^
main.cpp:30:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:37:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 4ms | 131kb | OK | 10 |
5 | 7ms | 262kb | OK | 10 |
6 | 12ms | 524kb | OK | 10 |
7 | 27ms | 1048kb | OK | 10 |
8 | 38ms | 1441kb | OK | 10 |
9 | 78ms | 2617kb | OK | 10 |
10 | 109ms | 3272kb | OK | 10 |
Punctaj total | 100 |