Pagini recente » Borderou de evaluare (job #2807450) | Borderou de evaluare (job #2750143) | Borderou de evaluare (job #2060802)
Borderou de evaluare (job #2060802)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> toposort(std::vector<std::set<int> >&)’:
user.cpp:33:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int node = 1; node < graph.size(); ++node) {
^
user.cpp: In function ‘std::vector<std::set<int> > read_graph()’:
user.cpp:9:37: 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);
^
user.cpp:12:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &num_nodes, &num_links);
^
user.cpp:18:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &from, &to);
^
user.cpp: In function ‘void write_sorted_list(std::vector<int>&)’:
user.cpp:74: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 340kb | Raspuns gresit | 0 |
4 | 4ms | 420kb | Raspuns gresit | 0 |
5 | 8ms | 624kb | OK | 10 |
6 | 16ms | 888kb | Raspuns gresit | 0 |
7 | 56ms | 1860kb | Raspuns gresit | 0 |
8 | 76ms | 2512kb | OK | 10 |
9 | 176ms | 4652kb | Raspuns gresit | 0 |
10 | Depăşit | 6332kb | Time limit exceeded. | 0 |
Punctaj total | 40 |