Pagini recente » Borderou de evaluare (job #1806024) | Cod sursa (job #610246) | Borderou de evaluare (job #2359509) | Borderou de evaluare (job #2928594) | Borderou de evaluare (job #2721898)
Borderou de evaluare (job #2721898)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<adc[nod].size();++i)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:25: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:26: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:27:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:31:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
main.cpp:49:28: 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 | 6ms | 2490kb | OK | 10 | 10 |
| 2 | 8ms | 2621kb | OK | 10 | 10 |
| 3 | 31ms | 4718kb | OK | 10 | 10 |
| 4 | 286ms | 15466kb | OK | 10 | 10 |
| 5 | 363ms | 23724kb | OK | 10 | 10 |
| 6 | 464ms | 23986kb | OK | 10 | 10 |
| 7 | 1122ms | 32899kb | OK | 10 | 10 |
| 8 | 1705ms | 26476kb | OK | 10 | 30 |
| 9 | 2110ms | 27394kb | OK | 10 |
| 10 | 2705ms | 27787kb | OK | 10 |
| Punctaj total | 100 |