Pagini recente » Borderou de evaluare (job #2574081) | Borderou de evaluare (job #3178341) | Borderou de evaluare (job #2786544) | Borderou de evaluare (job #2572856) | Borderou de evaluare (job #1918165)
Borderou de evaluare (job #1918165)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:17:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < graph[node].size(); i++) {
^
user.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:25:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in", "r", stdin);
^
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out", "w", stdout);
^
user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:30:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:36:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1628kb | OK | 10 | 10 |
2 | 0ms | 1636kb | OK | 10 | 10 |
3 | 16ms | 1840kb | OK | 10 | 10 |
4 | 148ms | 2896kb | OK | 10 | 10 |
5 | 164ms | 3724kb | OK | 10 | 10 |
6 | 268ms | 3720kb | OK | 10 | 10 |
7 | 2252ms | 9040kb | OK | 10 | 10 |
8 | 1420ms | 3724kb | OK | 10 | 30 |
9 | 1832ms | 3724kb | OK | 10 |
10 | 2032ms | 3716kb | OK | 10 |
Punctaj total | 100 |