Pagini recente » Borderou de evaluare (job #2081795) | Borderou de evaluare (job #2278859) | Borderou de evaluare (job #1683108) | Borderou de evaluare (job #1937054) | Borderou de evaluare (job #2469883)
Borderou de evaluare (job #2469883)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:17:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void DFS2(int)':
main.cpp:31:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp: In function 'int scor(int)':
main.cpp:44:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v[nod].size(); i++) {
~~^~~~~~~~~~~~~~~
main.cpp:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:56:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("cezar.in", "r", stdin);
^
main.cpp:57:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("cezar.out", "w", stdout);
^
main.cpp:61:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &k);
^
main.cpp:63:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &a, &b);
^
main.cpp:85:7: warning: 'nmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
x = nrd[nmin];
~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 393kb | OK | 5 |
2 | 3ms | 393kb | OK | 5 |
3 | 3ms | 393kb | OK | 5 |
4 | 3ms | 393kb | OK | 5 |
5 | 3ms | 393kb | OK | 5 |
6 | 3ms | 393kb | OK | 5 |
7 | 3ms | 393kb | OK | 5 |
8 | 4ms | 393kb | OK | 5 |
9 | 4ms | 393kb | OK | 5 |
10 | 4ms | 393kb | OK | 5 |
11 | 4ms | 524kb | OK | 5 |
12 | 5ms | 524kb | OK | 5 |
13 | 6ms | 524kb | OK | 5 |
14 | 6ms | 524kb | OK | 5 |
15 | 6ms | 655kb | OK | 5 |
16 | 6ms | 524kb | OK | 5 |
17 | 7ms | 524kb | OK | 5 |
18 | 8ms | 655kb | OK | 5 |
19 | 12ms | 786kb | OK | 5 |
20 | 16ms | 917kb | OK | 5 |
Punctaj total | 100 |