Pagini recente » Borderou de evaluare (job #1311674) | Borderou de evaluare (job #2564092) | Borderou de evaluare (job #1868654) | Borderou de evaluare (job #917955) | Borderou de evaluare (job #2496777)
Borderou de evaluare (job #2496777)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a[nod].size(); ++i) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:55:32: 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);
^
main.cpp:56:34: 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);
^
main.cpp:59:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:62:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t[i]);
^
main.cpp:70:30: 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 |
Punctaj/grupa |
1 | 43ms | 24117kb | OK | 10 | 10 |
2 | 52ms | 24117kb | OK | 10 | 10 |
3 | 67ms | 24379kb | OK | 10 | 10 |
4 | 209ms | 26083kb | OK | 10 | 10 |
5 | 250ms | 27131kb | OK | 10 | 10 |
6 | 335ms | 27394kb | OK | 10 | 10 |
7 | 2801ms | 33423kb | Time limit exceeded | 0 | 0 |
8 | 1845ms | 29884kb | OK | 10 | 30 |
9 | 1920ms | 30781kb | OK | 10 |
10 | 2581ms | 31326kb | OK | 10 |
Punctaj total | 90 |