Pagini recente » Cod sursa (job #2425492) | Borderou de evaluare (job #1769391) | Borderou de evaluare (job #1332507) | Borderou de evaluare (job #2212371) | Borderou de evaluare (job #1814472)
Borderou de evaluare (job #1814472)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:13:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<G[u].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:21: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:22: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:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:51:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &r1, &r2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1464kb | OK | 10 | 10 |
| 2 | 0ms | 1536kb | OK | 10 | 10 |
| 3 | 20ms | 3240kb | OK | 10 | 10 |
| 4 | 232ms | 12096kb | OK | 10 | 10 |
| 5 | 312ms | 19196kb | OK | 10 | 10 |
| 6 | 412ms | 19188kb | OK | 10 | 10 |
| 7 | 1048ms | 22948kb | OK | 10 | 10 |
| 8 | 1628ms | 19188kb | OK | 10 | 30 |
| 9 | 2044ms | 19188kb | OK | 10 |
| 10 | 2260ms | 19188kb | OK | 10 |
| Punctaj total | 100 |