Pagini recente » Borderou de evaluare (job #2408874) | Borderou de evaluare (job #1068005) | Borderou de evaluare (job #2395421) | Borderou de evaluare (job #888246) | Borderou de evaluare (job #1847590)
Borderou de evaluare (job #1847590)
Raport evaluator
Compilare:
user.cpp: In constructor ‘TopoSort::TopoSort(std::vector<std::vector<int> >&)’:
user.cpp:9:10: warning: ‘TopoSort::s_ix’ will be initialized after [-Wreorder]
int V, s_ix;
^
user.cpp:7:15: warning: ‘std::vector<int> TopoSort::sorted’ [-Wreorder]
vector<int> sorted;
^
user.cpp:11:3: warning: when initialized here [-Wreorder]
TopoSort(vector< vector<int> >& edges) :
^
user.cpp: In function ‘int main()’:
user.cpp:35: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:36: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);
^
user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:42:27: 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 | 0ms | 440kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 4ms | 528kb | OK | 10 |
6 | 8ms | 596kb | OK | 10 |
7 | 16ms | 784kb | OK | 10 |
8 | 24ms | 1008kb | OK | 10 |
9 | 52ms | 1408kb | OK | 10 |
10 | 84ms | 1840kb | OK | 10 |
Punctaj total | 100 |