Pagini recente » Cod sursa (job #899772) | Cod sursa (job #2003295) | Cod sursa (job #19929) | Monitorul de evaluare | Borderou de evaluare (job #2660954)
Borderou de evaluare (job #2660954)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs(int)':
main.cpp:23:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<arcs[current_node].size(); ++i) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:38:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in", "r", stdin);
^
main.cpp:39:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out", "w", stdout);
^
main.cpp:42:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:46:24: 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 |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 13ms | 786kb | OK | 10 |
| 6 | 51ms | 2297kb | OK | 10 |
| 7 | 79ms | 3276kb | OK | 10 |
| 8 | 134ms | 4980kb | OK | 10 |
| 9 | 88ms | 5636kb | OK | 10 |
| 10 | 186ms | 6422kb | OK | 10 |
| Punctaj total | 100 |