Pagini recente » Borderou de evaluare (job #656187) | Borderou de evaluare (job #538260) | Borderou de evaluare (job #2774251) | Borderou de evaluare (job #2587007) | Borderou de evaluare (job #2309181)
Borderou de evaluare (job #2309181)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:36:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:55:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("confuzie.in", "r", stdin);
^
main.cpp:56:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("confuzie.out", "w", stdout);
^
main.cpp:57:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:60:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
main.cpp:71:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &type, &u);
^
main.cpp:83:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 11ms | 4980kb | OK | 10 |
2 | 37ms | 5767kb | OK | 10 |
3 | 65ms | 6553kb | OK | 10 |
4 | 51ms | 6553kb | OK | 10 |
5 | 652ms | 20971kb | OK | 10 |
6 | 791ms | 21495kb | OK | 10 |
7 | 1082ms | 26607kb | OK | 10 |
8 | 1303ms | 35651kb | Time limit exceeded | 0 |
9 | 1302ms | 37486kb | Time limit exceeded | 0 |
10 | 1301ms | 38797kb | Time limit exceeded | 0 |
Punctaj total | 70 |