Pagini recente » Borderou de evaluare (job #243238) | Borderou de evaluare (job #2112357) | Borderou de evaluare (job #2768131) | Borderou de evaluare (job #706910) | Borderou de evaluare (job #1868094)
Borderou de evaluare (job #1868094)
Raport evaluator
Compilare:
user.cpp: In function ‘void topo_sort(int)’:
user.cpp:11:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[u].size(); ++ i) {
^
user.cpp: In function ‘int main()’:
user.cpp:21:39: 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:22:41: 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:26: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:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 848kb | OK | 10 |
2 | 0ms | 848kb | OK | 10 |
3 | 0ms | 856kb | OK | 10 |
4 | 0ms | 876kb | OK | 10 |
5 | 4ms | 928kb | OK | 10 |
6 | 8ms | 1004kb | OK | 10 |
7 | 16ms | 1152kb | OK | 10 |
8 | 24ms | 1316kb | OK | 10 |
9 | 52ms | 1748kb | OK | 10 |
10 | 88ms | 2108kb | OK | 10 |
Punctaj total | 100 |