Pagini recente » Borderou de evaluare (job #1953732) | Borderou de evaluare (job #1843538) | Borderou de evaluare (job #2214319) | Borderou de evaluare (job #3169717) | Borderou de evaluare (job #2310878)
Borderou de evaluare (job #2310878)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[u].size(); i++) {
~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void bfs(int, int)':
main.cpp:41: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:59:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb2.in", "r", stdin);
^
main.cpp:60:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb2.out", "w", stdout);
^
main.cpp:63:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:68:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &u, &v, &d, &c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 10ms | 4194kb | OK | 5 |
| 2 | 10ms | 4194kb | OK | 5 |
| 3 | 10ms | 4194kb | OK | 5 |
| 4 | 10ms | 4194kb | OK | 5 |
| 5 | 11ms | 4194kb | OK | 5 |
| 6 | 12ms | 4194kb | OK | 5 |
| 7 | 12ms | 4194kb | OK | 5 |
| 8 | 38ms | 5373kb | OK | 5 |
| 9 | 54ms | 6029kb | OK | 5 |
| 10 | 67ms | 6553kb | OK | 5 |
| 11 | 101ms | 7733kb | OK | 5 |
| 12 | 116ms | 8257kb | OK | 5 |
| 13 | 125ms | 8781kb | OK | 5 |
| 14 | 138ms | 9568kb | OK | 5 |
| 15 | 153ms | 9961kb | Time limit exceeded | 0 |
| 16 | 152ms | 9961kb | Time limit exceeded | 0 |
| 17 | 152ms | 9961kb | Time limit exceeded | 0 |
| 18 | 153ms | 9961kb | Time limit exceeded | 0 |
| 19 | 151ms | 10223kb | Time limit exceeded | 0 |
| 20 | 149ms | 9961kb | OK | 5 |
| Punctaj total | 75 |