Pagini recente » Borderou de evaluare (job #2779426) | Borderou de evaluare (job #2398443)
Borderou de evaluare (job #2398443)
Raport evaluator
Compilare:
main.cpp: In function 'int f(int)':
main.cpp:39:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
main.cpp:45:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
dfs(root,0,val);
^~~
main.cpp:49:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++)
^~~
main.cpp:53:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
while((int)points.size()<k)
^~~~~
main.cpp: In function 'int main()':
main.cpp:104:9: warning: unused variable 'x' [-Wunused-variable]
int x=f(sol);
^
main.cpp:74:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("salvare.in","r",stdin);
^
main.cpp:75:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("salvare.out","w",stdout);
^
main.cpp:77:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
main.cpp:82:28: 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 'int f(int)':
main.cpp:45:24: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs(root,0,val);
^
main.cpp: In function 'int main()':
main.cpp:45:24: warning: 'root' may be used uninitialized in this function [-Wmaybe-uninitialized]
dfs(root,0,val);
^
main.cpp:37:9: note: 'root' was declared here
int root;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 131kb | OK! | 5 | 5 |
2 | 2ms | 131kb | OK! | 5 | 5 |
3 | 2ms | 131kb | OK! | 5 | 5 |
4 | 2ms | 131kb | OK! | 5 | 5 |
5 | 3ms | 131kb | OK! | 5 | 5 |
6 | 3ms | 131kb | OK! | 5 | 5 |
7 | 3ms | 131kb | OK! | 5 | 5 |
8 | 3ms | 131kb | OK! | 5 | 5 |
9 | 3ms | 131kb | OK! | 5 | 0 |
10 | 4ms | 131kb | OK! | 5 |
11 | 2ms | 131kb | Solutia nu respecta distanta minima | 0 |
12 | 2ms | 131kb | Distanta gresita! | 0 | 0 |
13 | 4ms | 131kb | Distanta gresita! | 0 |
14 | 4ms | 131kb | Distanta gresita! | 0 |
15 | 4ms | 131kb | Distanta gresita! | 0 | 0 |
16 | 4ms | 131kb | Distanta gresita! | 0 |
17 | 3ms | 131kb | OK! | 5 |
18 | 4ms | 131kb | OK! | 5 | 5 |
19 | 3ms | 131kb | OK! | 5 | 5 |
20 | 3ms | 131kb | Distanta gresita! | 0 | 0 |
Punctaj total | 50 |