Pagini recente » Borderou de evaluare (job #843141) | Borderou de evaluare (job #3352050) | Borderou de evaluare (job #797813) | Borderou de evaluare (job #3024645) | Borderou de evaluare (job #2273134)
Borderou de evaluare (job #2273134)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int, int)':
main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[Nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int solve(int, int)':
main.cpp:109:9: warning: unused variable 'ans' [-Wunused-variable]
int ans=Query(1, 1, 2*N-1, i, j);
^~~
main.cpp: In function 'int main()':
main.cpp:116: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);
^
main.cpp:117: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);
^
main.cpp:119: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:123:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &X);
^
main.cpp:137: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 |
Punctaj/grupa |
| 1 | 45ms | 24117kb | OK | 10 | 10 |
| 2 | 53ms | 24117kb | OK | 10 | 10 |
| 3 | 83ms | 25161kb | OK | 10 | 10 |
| 4 | 384ms | 28954kb | OK | 10 | 10 |
| 5 | 441ms | 32489kb | OK | 10 | 10 |
| 6 | 694ms | 32620kb | OK | 10 | 10 |
| 7 | 1630ms | 44683kb | OK | 10 | 10 |
| 8 | 2800ms | 34848kb | Time limit exceeded | 0 | 0 |
| 9 | 2800ms | 34848kb | Time limit exceeded | 0 |
| 10 | 2803ms | 34869kb | Time limit exceeded | 0 |
| Punctaj total | 70 |