Pagini recente » Borderou de evaluare (job #2433743) | Borderou de evaluare (job #418192) | Borderou de evaluare (job #2421550) | Borderou de evaluare (job #2171970) | Borderou de evaluare (job #2409920)
Borderou de evaluare (job #2409920)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a[start_node].size();i++)
~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:42:35: 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:43:37: 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:46:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:50:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
main.cpp: In function 'void cle()':
main.cpp:17:19: warning: iteration 100004 invokes undefined behavior [-Waggressive-loop-optimizations]
visited[i]=false;
~~~~~~~~~~^~~~~~
main.cpp:16:18: note: within this loop
for(int i=1;i<=nmax;i++)
~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2621kb | OK | 10 |
2 | 7ms | 2621kb | OK | 10 |
3 | 7ms | 2621kb | OK | 10 |
4 | 8ms | 2621kb | OK | 10 |
5 | 18ms | 3014kb | OK | 10 |
6 | 53ms | 3801kb | OK | 10 |
7 | 80ms | 4325kb | OK | 10 |
8 | 121ms | 5373kb | OK | 10 |
9 | 79ms | 8519kb | OK | 10 |
10 | 181ms | 6160kb | OK | 10 |
Punctaj total | 100 |